Hi,
I have imported a key and did trusted,but while encrypting getting "sign+encrypt failed: unusable public key" error
expiry date for both key and suskey till 2020
used below command for encryption
gpg --pinentry-mode loopback --sign --encrypt --armor -u xxxxx -o E:\New\test.txt.gpg -r xxxxx --passphrase mypasspharse E:\New\test.txt
please let me know where I did mistake. urgent for me