I installed OpenPGP package and created gpg key and imported 2 partner’s public keys in the pubring.gpg.
** recipientID
-. Partner A
-. PartnerB
When I encrypted a string message with recipientID=Partner A, I got following error.
usage: gpg [options] [filename]
When I encrypted a string message with recipientID= PartnerB, I got encrypted message successfully.
OS is UNIX. It seems that the error is encountered if there is a whitespace in the recipientID. I tried to use quoting(‘ and “), but it didn’t help.
In the windows, quoting " worked.
Please let me know how to preserve whitespace in the recipientID.