Wrong password to decrypt a encrypted file.

Kim's Avatar

Kim

25 Apr, 2018 05:38 PM

GPG Tools (decrypting files)

I encrypted a test file using this method:
1. Selected the file
2. Right clicked the file and pressed serviced, then choose openPGP Encrypt file.
3. In pop-up dialog box: I choose my key and checked off encrypt with password, and hit OK.
4. I typed in the password for that key,The file shows up encrypted and it says encryption finished
5. then I choose the encrypted file, right click it and goes to services OpenPGP Decrypt, the password dialog box pop-up and I try typing in a wrong password, and the file decrypts.

nb: Now when I encrypt with password and the selected key, I do not even have to type in the password to decrypt the file, I just press cancel or ok and it decrypts for me.

What did you expect instead

I expected it to not be decrypted

Describe steps leading to the problem.

I was doing a YouTube tutorial on how to use and why you should use PGP encryption, and came across this problem.

Are you using any other Mail.app plugins?

NO

  1. 1 Posted by kim on 27 Apr, 2018 07:42 PM

    kim's Avatar

    Am I the only one with this problem?

    I'm sure there must be some smart people in here who can shine some light on this problem for me!?

  2. Support Staff 2 Posted by Steve on 29 Apr, 2018 10:55 AM

    Steve's Avatar

    Hi Kim,

    welcome to the GPGTools support platform. Sorry you are having problems using GPG Suite.

    First things first: GPGServices offers two variants of encryption. Symmetric (password only) and asymmetric (stronger and based on public key cryptography). As soon as you tick the option to "Encrypt with password" you are using symmetric encryption. If you keep the "Add to Recipients" check box ticked as well, you are usign both symmetric and asymmetric encrpytion and that is where things can become confusing.

    You can use any random password for symmetric encryption. Obviously if you encrypt a file or message with your OpenPGP key (asymmetric) you will instead be asked for the password for your OpenPGP secret key (which is required for decryption).

    So I suggest to refrain using symmetric encryption.

    Next: you can store the password for your OpenPGP key or cache it for a certain time. Please see this KB-article on how to manage passwords for your keys.

    Since you may have used on of the two options you are not asked for your password when decrypting the file.

    Let me know if this answers your question.

    Enjoy your weekend,
    steve

  3. Support Staff 3 Posted by Steve on 18 Jul, 2018 02:34 PM

    Steve's Avatar

    Closing, since no further user feedback was received. Should your problem persist, feel free to re-open this discussion any time.

    All the best, steve

  4. Steve closed this discussion on 18 Jul, 2018 02:34 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac