Trying to encrypt files using gpg (GnuPG) from command line, using AES256.
To encrypt:
gpg2 --cipher-algo AES256 --symmetric file
To decrypt:
gpg2 --output file --decrypt file
Question is, when encrypting, it asks for a passphrase, but when decrypting, it DOESN'T ask for a passphrase. Is it normal? Why I can decrypt without entering a passphrase?