Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 536316 - gkeys-gen: Failed to get a password
Summary: gkeys-gen: Failed to get a password
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: gentoo-keys (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo-keys project
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2015-01-11 15:04 UTC by Johann Schmitz (ercpe) (RETIRED)
Modified: 2018-09-13 16:24 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johann Schmitz (ercpe) (RETIRED) gentoo-dev 2015-01-11 15:04:36 UTC
Probably related to bug #536312:

after

    * Give the password for the key. (Pick a strong one)
        Please surf the internet, type on your keyboard, etc. 
        This helps the random number generator work effectively

pinentry pops up and i entered the passphrase twice, nothing happens. After a while the application stops with

 Gkey task results:
    
    Aborting... Failed to get a password.


Log with -D DEBUG: 

2015-01-11 15:59:04,534 gkeys-gen    DEBUG    Loggers initialized
2015-01-11 15:59:04,534 gkeys-gen    DEBUG    Main: run; Found action: gen-key
2015-01-11 15:59:04,534 gkeys-gen    DEBUG    MAIN: _action_genkey; setting gpghome destination: ~/gkeys-user/gpghome
2015-01-11 15:59:04,534 gkeys-gen    DEBUG    MAIN: _action_genkey; args= Namespace(action='gen-key', config=None, debug='DEBUG', destination=None, spec=None)
2015-01-11 15:59:11,084 gkeys-gen    INFO     MAIN: _action_genkey; create custom gpg directory: /home/johann/~/gkeys-user/gpghome
2015-01-11 15:59:11,322 gkeys-gen    INFO     MAIN: _action_genkey: Generating GPG key...
2015-01-11 16:00:54,778 gkeys-gen    DEBUG    MAIN: _action_genkey: GpgmeError: (7, 1, u'General error')
2015-01-11 16:00:54,778 gkeys-gen    DEBUG    MAIN: _action_genkey: Aborting... Failed to get a password.


Reproducible: Always
Comment 1 Richard Freeman gentoo-dev 2015-01-12 16:18:45 UTC
I was able to obtain this behavior by creating a fresh stage3 chroot, installing gkeys-gen, and running it.
Comment 2 Bernard Cafarelli gentoo-dev 2015-03-17 21:21:06 UTC
Most probably related to #536312 indeed, as setting the directory manually worked (with -d /home/voyageur/a here)
Comment 3 Brian Dolbec (RETIRED) gentoo-dev 2015-03-17 21:32:43 UTC
I have the directory setting properly working in git now.  But I have a few more things to fix/improve before the next release.

http://gitweb.gentoo.org/proj/gentoo-keys.git/commit/?id=dfe6fd48a50d5753127a3720259f10312822a39b
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-09-13 16:24:02 UTC
Package removed per last-rites.