Hi Everyone,
While decrypting files, i am intermittently getting the following error
gpg: Note: RFC4880bis features are enabled.*
# off=0 ctb=85 tag=1 hlen=3 plen=268*
:pubkey enc packet: version 3, algo 1, keyid 2C41BE3F89E459A2*
data: [2046 bits]*
gpg: public key is 2C41BE3F89E459A2*
# off=271 ctb=d2 tag=18 hlen=2 plen=0 partial new-ctb*
:encrypted data packet:*
length: unknown*
mdc_method: 2*
gpg: using subkey 2C41BE3F89E459A2 instead of primary key 9D8D9D48DDE36950*
gpg: public key decryption failed: Wrong secret key used*
gpg: decryption failed: Wrong secret key used*
I can verify that the sub-key 2C41BE3F89E459A2 is available in the key ring.
sec rsa2048/9D8D9D48DDE36950 2018-08-23 [SCEA]
62D3E99EA1B8E66DD668A0859D8D9D48DDE36950
Keygrip = 94FCC75E7F288B6EE1959C0FFEAF0EE915814B7E
uid [ultimate] PROD_FMS_Master_Key (FMS Master Key for PROD)
ssb rsa2048/2C41BE3F89E459A2 2018-08-23 [SEA] [expires: 2026-08-21]
Keygrip = E3DC5720F63A6CF2CB4105D991AA0B5ECE92B30A
GPG version
gpg (GnuPG) 2.3.3
libgcrypt 1.10.0-unknown
Copyright (C) 2021 Free Software Foundation, Inc.
License GNU GPL-3.0-or-later <https://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: /home/TESCOGLOBAL+svc-fmstestadmin/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
CAMELLIA128, CAMELLIA192, CAMELLIA256
AEAD: EAX, OCB
Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
I have tried restarting the gpg-agent using reload and bye, but it randomly fails. When i retry its is successful most of time.
Any help would be appreciated.