Não consigo gerar uma chave gpg através do programa keyring

6

Sempre que tento gerar uma chave gpg por meio do programa GPG do sistema, ela solicita meu nome, e-mail e senha, então tudo, exceto a janela principal do programa GPG, desaparece.

Ao usar o gpg key-gen

gpg: can't open '/home/jesse/.gnupg/random_seed': Permission denied
We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
gpg: WARNING: some OpenPGP programs can't handle a DSA key with this digest size
+++++++++++++++..++++++++++...+++++++++++++++.+++++..+++++.+++++.++++++++++.+++++++++++++++..+++++.++++++++++++++++++++.++++++++++++++++++++++++++++++.+++++.+++++.+++++...+++++>+++++...+++++++++++++++++++++++++..+++++++++++++++>.+++++>+++++................................................................................................................................................................................................................................................................................>.+++++.................................................................................................................+++++

Not enough random bytes available.  Please do some other work to give
the OS a chance to collect more entropy! (Need 300 more bytes)
gpg: no writable public keyring found: eof
Key generation failed: eof
gpg: note: random_seed file not updated
    
por KI4JGT 14.06.2014 / 14:43

1 resposta

5

Para mim, a exclusão da pasta .gnugpg ajudou:

sudo rm -rf ~/.gnugpg
    
por alkamid 12.03.2016 / 08:19