why injecting same RSA keys to different smartcards lead to different key id's

2022-03-12 Thread Alireza Sadeghpour via Gnupg-users
I've injected the same RSA keys to two different smartcard using the pkcs11-tool, but when I import them in the gpg I got different keyids. With this behavior a critical problem arises in the below scenario: Consider I've generated an RSA key pair to sign and verify patches of a product, and I bac

Re: Signing message problem with GPG loopback pin-entry option

2022-02-20 Thread Alireza Sadeghpour via Gnupg-users
wrong, how can i indicate passphrase for two separate keys in same command? Sencerly On Sun, 20 Feb 2022, 7:37 PM Ingo Klöcker, wrote: > On Sonntag, 20. Februar 2022 16:25:31 CET Alireza Sadeghpour via > Gnupg-users > wrote: > > I am trying to encrypt and sign a file with g

Signing message problem with GPG loopback pin-entry option

2022-02-20 Thread Alireza Sadeghpour via Gnupg-users
I am trying to encrypt and sign a file with gpg and loopback pinentry option, with the below command: gpg --pinentry-mode=loopback --passphrase ="mypws" \ --ignore-time-conflict --ignore-valid-from \ --cipher-algo AES256 --symmetric --ignore-time-conflict \ --passphrase-file ~/.gnupg/PG/p-enckey -