Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

i used this command to decrypt my file

gpg -d myfile.gpg

it asked me for passphrase when i entered it showed me the content of the file

now when i run the command again it did not ask me the passphrase and directly decrypted the file

how can i reduce the passphrase remember time.


Is there any way to do this through command line or every from a software.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

With --no-use-agent you are always asked for a passphrase:

gpg --no-use-agent -d myfile.gpg
share|improve this answer
c_korn Man you rock !!! –  Iori Feb 17 '13 at 12:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.