Originally posted by: @AAB
Hi IBMers
I installed gpg2 on AIX7.1 and try to use it. Installation are good. This is the version :
root@xxx:/root/.gnupg# gpg2 --version
gpg (GnuPG) 2.0.30
libgcrypt 1.5.4
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
root@xxx:/root/.gnupg#
When i try to generate new key, i had this error :
root@xxx:/root/.gnupg# gpg2 --gen-key
gpg (GnuPG) 2.0.30; Copyright (C) 2015 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
gpg: keyring `/root/.gnupg/secring.gpg' created
Please select what kind of key you want:
(1) RSA and RSA (default)
(2) DSA and Elgamal
(3) DSA (sign only)
(4) RSA (sign only)
Your selection?
RSA keys may be between 1024 and 4096 bits long.
What keysize do you want? (2048)
Requested keysize is 2048 bits
Please specify how long the key should be valid.
0 = key does not expire
<n> = key expires in n days
<n>w = key expires in n weeks
<n>m = key expires in n months
<n>y = key expires in n years
Key is valid for? (0)
Key does not expire at all
Is this correct? (y/N) y
GnuPG needs to construct a user ID to identify your key.
Real name: xxxxxx
Name must be at least 5 characters long
Real name: xxxxxx
Email address: root@xxx.xxx.xxx
Comment:
You selected this USER-ID:
"abbas_am <xxxxxx@xxx.xxx.xxx>"
Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? O
You need a Passphrase to protect your secret key.
gpg-agent[46269046]: can't connect to the PIN entry module: IPC connect call failed
gpg-agent[46269046]: command get_passphrase failed: No pinentry
gpg: problem with the agent: No pinentry
gpg: Key generation canceled.
Is there a solution plz ?
Is there a document / site describing how to configure gpg2 on AIX plz ?
Thanks
Best,
Abderahim