[gnupg-users] Decrypting file encrypted for multiple recipients using a given ID in batch mode

Hauke Laging mailinglisten at hauke-laging.de
Sun Oct 7 02:47:56 CEST 2012


Am So 07.10.2012, 02:34:41 schrieb Jaime Fernández:

> $ gpg --passphrase-fd 0 --batch --d file.gpg
> 
> If I type a password gpg will try it with all the posible recipients but
> this is not the behaviour that I want, is there any way to force a user?

Is the file encrypted with hidden recipients?

If one private key can decrypt alle the files then you have the possibility to 
export this private key to another keyring and call gpg for decryption with 
this keyring as the only one. See 
--keyring
--secret-keyring
--no-default-keyring


Hauke
-- 
☺
PGP: D44C 6A5B 71B0 427C CED3 025C BD7D 6D27 ECCB 5814
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 555 bytes
Desc: This is a digitally signed message part.
URL: </pipermail/attachments/20121007/22867113/attachment.pgp>


More information about the Gnupg-users mailing list