Skip to content

cabal upload reveals your password as you type it on MSYS2 #4128

@RyanGlScott

Description

@RyanGlScott

AFAICT, this is not only Windows-specific, but also MSYS2-specific, as I can't reproduce this on PowerShell. Steps to reproduce:

$ git clone https://github.com/RyanGlScott/code-page
$ cd code-page/
$ cabal configure --enable-tests
Resolving dependencies...
Configuring code-page-0.1.1...
$ cabal upload -d
No documentation tarball specified. Building documentation tarball...
Running Haddock for code-page-0.1.1...
Running hscolour for code-page-0.1.1...
Preprocessing library code-page-0.1.1...
Preprocessing test suite 'tests' for code-page-0.1.1...
Preprocessing library code-page-0.1.1...
Haddock coverage:
  42% (  8 / 19) in 'System.Win32.CodePage'
  Missing documentation for:
    CodePage
    getConsoleCP
    getConsoleOutputCP
    setConsoleCP
    setConsoleOutputCP
    getACP
    getOEMCP
    codePageEncoding
    mkCodePageEncoding
    isValidCodePage
    stringToUnicode
 100% ( 14 / 14) in 'System.IO.CodePage'
Documentation created: .\dist\doc\html\code-page-0.1.1-docs\.\index.html,
.\dist\doc\html\code-page-0.1.1-docs\.\code-page.txt
Preprocessing test suite 'tests' for code-page-0.1.1...
Documentation tarball created: dist\code-page-0.1.1-docs.tar.gz
Hackage username: me
Hackage password: hunter2

It shows my Hackage password (hunter2, in the fake example above) as I type it, which is a bit unsettling.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions