Hi everyone,
I've tried to get gpg to work but I'm stuck in the process. I've followed the tutorial here :
https://wiki.archlinux.org/index.php/GnuPG
And after the installation I've noticed that a folder .gnupg had been created in /root/ but not in ~/.
So I did:
$this->bbcode_second_pass_code('', 'export GNUPGHOME="/root/.gnupg"')
to link gpg to the right folder. I then appended the following lines to gpg.conf, following the tutorial:
$this->bbcode_second_pass_code('', 'personal-digest-preferences SHA512
cert-digest-algo SHA512
default-preference-list SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES CAST5 ZLIB BZIP2 ZIP Uncompressed
personal-cipher-preferences TWOFISH CAMELLIA256 AES 3DES')
as advised by the tutorial. Then I typed:
$this->bbcode_second_pass_code('', '# gpg --gen-key')
But after answering a few questions I always get this error message:
$this->bbcode_second_pass_code('', '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: agent_genkey failed: No pinentry
Key generation failed: No pinentry')
I've reinstalled gpg, made sure that pinentry was installed too, created ~/.gnupg with the same files etc... -> same error. Does anyone knows what's wrong with "pinentry"?
Thanks!
Alex