Ticket #348 (closed defect: fixed)

Opened 5 years ago

Last modified 4 years ago

Wrong login details for `cabal upload' is not handled gracefully

Reported by: chrisdone Owned by:
Priority: normal Milestone: cabal-install-0.6
Component: cabal-install tool Version: 1.4.0.1
Severity: normal Keywords:
Cc: Difficulty: easy (<4 hours)
GHC Version: 6.8.3 Platform:

Description

Example:

chris@chrisdesktop:~/haskell/lojban$ cabal upload dist/lojban-0.0.tar.gz
Hackage username: foo
Hackage password: bar
Uploading dist/lojban-0.0.tar.gz...
cabal: bsAuthGen wanted

Change History

Changed 5 years ago by duncan

  • milestone changed from Cabal-1.4 to Cabal-1.6

Changed 5 years ago by duncan

  • difficulty changed from normal to easy (<4 hours)
  • milestone changed from Cabal-1.6 to cabal-install-0.6

Changed 4 years ago by duncan

  • component changed from Cabal library to cabal-install tool

Changed 4 years ago by duncan

  • status changed from new to closed
  • resolution set to fixed

Since cabal-install version 0.6 it reports:

$ cabal upload test.tar.gz 
Hackage username: foo
Hackage password: bar
Uploading test.tar.gz...
ERROR: test.tar.gz: 401 Authorization Required
Note: See TracTickets for help on using tickets.