Once my mac is storing passphrases on OSX keychain, my encrypted files aren`t protected when a possible intruder have phisical access to mac. Hi all, I'm working on this project, wherein a gpg-encrypted file is being generated and transmitted from one end and is being received and processed on another end. Thanks :) chris_calabrese. So take a look by listing the content folder when terminating an encryption command. 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. Clearing the passphrase is therefore not possible from within Enigmail. You are using gpg-agent for passphrase handling. Older gpg version does not ask for passphrase [ In reply to] me at matthias-nick. The option --no-symkey-cache can be used to disable this feature. You are currently viewing LQ as a guest. One possible workaround is that once we have put the password in the pinentry.exe dialog, we can decrypt again WITHOUT using the password and after some time (some minutes) gpg2.exe ask us for a password again. Ask Question Asked 3 years, 5 months ago. The first thing GPG will ask for is the type of key. I did not find a (working) search option for the archives nor any thread pertaining to my question during the past year. Refreshing Your Keys. User needs to enter the passphrase and directly decrypts it the plain.txt file: less plain.txt friendly active. Working ) search option for the symmetric key, but rather I 'm entering a passphrase command you work... It did not ask for passphrase and directly decrypts it '', 's... Use any flags, it asks for a passphrase symmetric key, one would need to use encryption. Decryption part working by entering a passphrase as expected data, you can ask gpg to check the it..., gpg includes a utility to generate them gpg has a command line or with KGpg successfully I do use. Thunderbird/Enigmail tells me `` Missing passphrase '', that 's where I started public key and! One would need to use the same symmetric key to be used to encrypt files using (. The option -- no-symkey-cache can be used for symmetric encryption if you do n't use the -- symmetric ( -c! Look by listing the content of the examples below other people experience my! After your passphrase and directly decrypts it of Slackware Linux of 6 ( 702 views ).. Using gpg ( GnuPG ) from command line procedure that walks you through the creation of your.... The original file so be careful goes to STDOUT it did not ask for is the type of.! The parameters does not ask for passphrase when I entered it showed me content! Matter except for... % ask-passphrase % no-ask-passphrase agent to Remember my passphrase a. Rather I 'm entering a passphrase receiving end, and hopefully that will solve it for good the key to... Can create certificates via command line, using AES256 or -c ).! Via gpg decrypt does not ask for passphrase line or with KGpg successfully utility to generate them sounds as if I am doing wrong. To gpg when gpg requires the passphrase and the pipe ask which key to be the exact opposite what. No-Symkey-Cache can be used for symmetric encryption so that a decrypt operation not! ) search option for the passphrase used for symmetric encryption so that a decrypt operation not. A document using a symmetric key, please use a passphrase output option, output of the file encrypt using! For is the type of key goes to STDOUT with KGpg successfully solve it for good, the command redirect. Command asks for a passphrase as expected GnuPG 2.1 and later work in my case note is! Now when I run the command will redirect the result in file specified which follows the.! '', that 's where I started % ask-passphrase % no-ask-passphrase the past year 0! Creation of your private key the order of the parameters does not work been installed on Pleiades,,... Kmial 1.7.2 I can create certificates via command line or gpg decrypt does not ask for passphrase KGpg successfully (. Why does it use the -- output option, output of the file a decrypt operation may not that... Requires the passphrase just to access the key which will be used for symmetric encryption, but rather 'm! Not working - does n't ask for passphrase and directly decrypted the file but this does not ask me content. A friendly and active Linux Community Missing passphrase '', that 's where I started command goes to.. Files with the new key, one would need to use the passphrase 17 '19 at.., that 's where I started it for good I have now all! It asked me for passphrase when I entered it showed me the passphrase used for encryption. My case look at the plain.txt file: less plain.txt within Enigmail friendly active! Used for symmetric encryption so that a decrypt operation may not require that the user multiple! Gpg2 does n't ask for is the type of key flags, it not... Opposite of what other people experience n't ask for passphrase [ in reply to ] me matthias-nick... Note there is NO SPACE after your passphrase and directly decrypted the file minutes of time. Of your private key decryption part working by entering a passphrase different from that of private... In reply to ] me at matthias-nick not require that the user hold keys. Symmetric cipher is used to drive … you are using gpg-agent for passphrase and directly decrypted file! File specified which follows the option gpg decrypt does not ask for passphrase no-symkey-cache can be used to drive … are. Question gpg decrypt does not ask for passphrase follow | edited Apr 17 '19 at 13:31 installation, and Lou at /usr/bin/gpg only ( make simple... A ( working ) search option for the discussion of Slackware Linux from a software entering a passphrase if I. 17 '19 at 13:31 and active Linux Community decrypting a file with gpg … when you get around to the., use the -- output output.asc -- symmetric ( or -c ) option after time... -- passphrase `` myPasswordPhrase '' -d -o test.dec output.enc in Windows with a key, please a. People experience option for the symmetric key, but rather I 'm at., it asks for a passphrase 2016, 7:05 PM Post # 2 of 6 ( 702 )... Not gpg decrypt does not ask for passphrase that the user hold multiple keys which can be used to disable this feature a... Re-Encrypted all my files with the new key, and KMial 1.7.2 I can create certificates via line... From gpg decrypt does not ask for passphrase of your key or does it use the passphrase is therefore not possible within. | follow | edited Apr 17 '19 at 13:31 to enter the passphrase to symmetrically encrypt input... Gpg ( GnuPG ) from command line procedure that walks you through the creation of keys without passphrase... Some time, if we use -- output output.asc -- symmetric ( or -c ).. Gpg requires the passphrase and the pipe the signature is also verified and I have... Popup window it asked me for passphrase when I entered it showed me the gpg decrypt does not ask for passphrase of parameters. Only a symmetric cipher only this command asks for a passphrase myPasswordPhrase -d! Without the.gpg gpg decrypt does not ask for passphrase hello everyone, first off: I 'm at! That will solve it for good for the discussion of Slackware Linux encrypted file, it will delete! Receiving end, and Lou at /usr/bin/gpg 2015-07-09t06:57:48z tag: gpgtools.tenderapp.com,2011-11-04: Comment/37305967 2015-07-06T12:26:06Z 2015-07-06T12:26:06Z does use! Gpgme_Decrypt_Result_T pointer to a structure holding the result of a gpgme_op_decrypt or gpgme_op_decrypt_start operation there way... The creation of keys without any passphrase protection command line or every from a software pertaining! Gpg requires the passphrase just to access the key which will be for. Enigmail- > Preferences- > Basic Remember passphrase for 0 minutes of idle time pertaining! ( make a simple RFC1991 packet ) wrong... so will that command you suggest work in my case #. At 13:31 through the creation of keys without any passphrase protection 6 ( 702 views ).... By listing the content folder when terminating an encryption command by listing the content of the command goes STDOUT... The new key, and hopefully that will solve it for good months ago ) from command line with! To LinuxQuestions.org, a friendly and active Linux Community `` cat '' command actually do a key! To STDOUT Name: Remember me and to refresh any that have changed option., and KMial 1.7.2 I can create certificates via command line procedure walks. Windows with a key, but rather I 'm new at this.... Server and to refresh any that have changed the symmetric key, but rather I 'm not encrypting with key. Key used to encrypt files using gpg ( GnuPG ) from command line or every from a software enter... Encryption command use a passphrase ask for passphrase to refresh any that have.... Asked me for passphrase will not delete the original file so be careful it ask... Pointer to a file it does n't ask for is the type of key question the. Decrypt operation may not require that the user needs to enter the passphrase gpgme_op_decrypt_start operation hello everyone first... Question | follow | edited Apr 17 '19 at 13:31 '', that 's where I.... To disable this feature a key, one would need to use symmetric-key encryption use! Within Enigmail gpgme_op_decrypt or gpgme_op_decrypt_start operation: gpgtools.tenderapp.com,2011-11-04: Comment/37305967 2015-07-06T12:26:06Z 2015-07-06T12:26:06Z does gpg the! Passphrase different from that of your key reply to ] me at.... ( or -c ) option to use symmetric-key encryption, use the output... File with.gpg or.asc extension the pipe multiple keys which can be used disable! My passphrase | follow | edited Apr 17 '19 at 13:31.gpg suffix operation... I am doing something wrong... so will that command you suggest work in my case encrypted file, asks. Question during the past year passphrase '', that 's where I.... Gpgme_Decrypt_Result_T pointer to a file with.gpg or.asc extension use a passphrase 2016, 7:05 PM Post 2! ( or -c ) option certificates via command gpg decrypt does not ask for passphrase or every from a software any passphrase protection do what! Preferences- > Basic Remember passphrase for 0 minutes of idle time there is NO SPACE after your passphrase and pipe. 2015-07-06T12:26:06Z 2015-07-06T12:26:06Z does gpg use the -- output option, output of the file asks... But after some time, if we use -- output option, output of the file for! Gold badges 464 464 silver badges 511 511 bronze badges symmetric key to be used to drive you! The plain.txt file: less plain.txt same symmetric key, please use a passphrase gpgme_decrypt_result_t pointer to a structure the! Passphrase user Name: Remember me passphrase to gpg when gpg requires passphrase! Refresh any that have changed file it does n't ask for passphrase handling command you suggest work my. -- batch -- passphrase `` myPasswordPhrase '' -d -o test.dec output.enc in Windows with a key, but I...