marcwebbie / passpie

:closed_lock_with_key: Multiplatform command-line password manager
http://passpie.readthedocs.org/
MIT License
921 stars 68 forks source link

passpie init: hangs after passphrase confirmation #37

Closed jbd closed 9 years ago

jbd commented 9 years ago

Hello,

I'm trying to use passpie on my debian testing and passpie init hangs after passphrase confirmation

$ python --version
Python 2.7.9
$ virtualenv passpie
$ source passpie/bin/activate
(passpie)$ pip install --upgrade https://github.com/marcwebbie/passpie/tarball/master
(passpie)$ which passpie
/home/jbd/tmp/passpie/bin/passpie

The program hangs after passphrase confirmation:

(passpie)$ passpie init
Passphrase: 
Repeat for confirmation: 
marcwebbie commented 9 years ago

Hello @jbd

It takes a while sometime to generate gpg keys because of entropy. It depends a lot on the system state:

http://serverfault.com/questions/471412/gpg-gen-key-hangs-at-gaining-enough-entropy-on-centos-6

Thanks

jbd commented 9 years ago

Thank you for your answer. I was misusing rngd. Sorry for the useless issue.