[Hackage] #268: cabal upload asks for a password in plain text

Hackage trac at galois.com
Thu May 1 17:50:00 EDT 2008

#268: cabal upload asks for a password in plain text
  Reporter:  guest          |        Owner:                     
      Type:  defect         |       Status:  closed             
  Priority:  normal         |    Milestone:                     
 Component:  Cabal library  |      Version:  HEAD               
  Severity:  normal         |   Resolution:  fixed              
  Keywords:                 |   Difficulty:  very easy (<1 hour)
Ghcversion:  6.8.2          |     Platform:                     
Changes (by duncan):

  * status:  new => closed
  * resolution:  => fixed



 Thu May  1 22:44:56 BST 2008  Duncan Coutts <duncan at haskell.org>
   * Don't echo when prompting for the hackage upload password.
   Fixes ticket #268. And use newtypes for the username and password,
   just to be more sure we're not mixing them up with other strings.

 So it doesn't echo '*'s instead it just turns off terminal echoing which
 hopefully is more portable. We still use getLine rather than getChar so
 that uses the OS/terminal's line editing facilities which means you can
 still use backspace etc.

Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/268#comment:2>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects

More information about the cabal-devel mailing list