/r/gpg4win

Photograph via snooOG

This subreddit is a point for users to exchange their experiences on and about Gpg4win.

This subreddit is a point for users to exchange their experiences on and about Gpg4win.

/r/gpg4win

205 Subscribers

1

Gpg4usb windows.exe not working..

Hi! I want to instal gpg on usb. I Dld gpg4usb on tails, unzipped but windows.exe just opens up a folder and nothing executes in there. Help please šŸ„¹

0 Comments
2024/04/26
08:27 UTC

1

Is gpg4win compatible with PGP Partitioned method used by Symantec?

Symantec can use pgp/mime, but by default it uses pgp partitioned, hence it creates a PGPexch.htm.pgp file for the body of the message and AttachmentN.pgp for each attached file. Pgp/mime creates only one file message.pgp with all the information. But I cannot make gpg4win properly decrypt and show emails sent with the Symantec method. Help!

0 Comments
2024/02/02
04:23 UTC

1

how do i decrypt onion links

i cannot figure it out ?

0 Comments
2023/09/26
23:36 UTC

1

hey guys simple questions regarding secret key backup

does the secret key (mine) also include all my certificates ive added ?

1 Comment
2023/06/24
20:48 UTC

1

exporting public key in kleopatra

so i created my keys in kleopatra and when i export it i get this weird words in the header but when i export the same key on gpa its normal . any idea whats up /. exemple

-----BEGIN PGP PUBLIC KEY BLOCK-----

Comment: User-ID: 1438922

Comment: ValidĀ from: 2022-11-16 12:45 PM

Comment: ValidĀ until: 2024-11-16 12:00 PM

Comment: Type: 255-bit EdDSA (secret key available)

Comment: Usage: Signing, Encryption, Certifying User-IDs

Comment: Fingerprint: B6478E42DB41E323AB6E9D17773573C1E6C2F4C0

mDMEY3VMBxYJKwYBBAHaRw8BAQdAlWVN4J18teeC5r6FKNpVK0QW2NkZKs4MzOPK

0ARPZu+0BzE0Mzg5MjKImQQTFgoAQRYhBLZHjkLbQeMjq26dF3c1c8HmwvTABQJj

dUwHAhsDBQkDw625BQsJCAcCAiICBhUKCQgLAgQWAgMBAh4HAheAAAoJEHc1c8Hm

wvTAtewBAN/ISZCLWRWl/Ga+JsbxhELiSYOaISphIE2UmARcq94QAPwPr1CRe9uZ

JLxQ/2laxxzUgPtp9q7zqhQlg56VPtFlArg4BGN1TAcSCisGAQQBl1UBBQEBB0BX

/4yMxBWiyzoZc7QVzLsSmzPXDJQlPe2a/YhuxdGjRQMBCAeIfgQYFgoAJhYhBLZH

jkLbQeMjq26dF3c1c8HmwvTABQJjdUwHAhsMBQkDw625AAoJEHc1c8HmwvTAirwA

/jQiNgwmS4fAeL0NVLQftzvqxrrkpRCPzn6HEoFyDruUAP43IPSAcQSv495PR7jo

UJpmI6CBZv+7n2qRZ2QnosFVAg==

=/r7S

-----END PGP PUBLIC KEY BLOCK-----38

1 Comment
2022/11/16
22:09 UTC

2

How can I transfer my Kleopatra profile from my old PC to my new one?

I bought a new PC recently and would like to transfer my Kleopatra PGP tool to it. It's still installed on my old PC but now when I try to load it it says:

*"Kleopatra cannot be run as administrator without breaking file permissions in the GnuPG data folder . To manage keys for other users please manage them as a normal user and copy the Appdata\Roaming\gnupg directory with proper permissions."

Which means I can't export my keys/profile from it. Is there anything I can do here?

0 Comments
2022/11/15
17:35 UTC

3

command line encryption/decryption

Hi, I'm relatively new to gpg4win, and am trying to accomplish what I *think* is a relatively simple task.

I'd like to encrypt and decrypt files from a command line, such that I can script a process to automatically parse files in a folder to be encrypted at regular intervals, or decrypted. I have only one certificate with private key stored in Kleopatra, and it's set to my default identity, and "ultimate" trusted.

I've googled for hours, read through documentation, found examples, but a few of the option switches that are widely referenced don't seem to work with gpg4win (IE, --passphrase-file or --passphrase_fl, or even just --passphrase).

Here's my current syntax for a test encryption

.\gpg -r "KEYNAME" -o testencrypt.gpg --pinentry-mode=loopback --passphrase "PASSPHRASE" --default-recipient-self --always-trust -encrypt test.txt

yeilds :

gpg: ypt: skipped: No public keygpg: test.txt: encryption failed: No public key

I'm not sure if I even need the passphrase for encryption, rather than decryption - but if I omit --passphrase, it prompts for one.

I haven't gotten to decryption syntax, but figure it will be pretty much just the opposite process. I noticed the gpg-preset-passphrase.exe program, and ran it and entered the password there - not sure if that impacts anything.

Thanks for any insight!
edit : using gpg4win 4.0.3

0 Comments
2022/10/11
03:09 UTC

1

Do These Configuration Options Prevent GPG from Asking Passphrases?

1 Comment
2022/09/19
08:15 UTC

1

How to secure my keychain?

Struggling to find the right reddit for this question :(

I'm embarrassed to ask this question, since I've been a PGP user since 1993 (not long after Phil released it ;) ) I feel like I should know the answer, but I've spent 3-4 hours last night researching and come up blank.

What I want to do, is simply restrict access to my own keychain/keyring, so that only I can access it. I don't want other people with admin/root to be able to open it, so this isn't simply a matter of file permissioning. Ideally it would be something as simple as an application password, or even better, 2FA. Right now I'm using GPG4Win (GPA for key mgmt), but a solution that works on *nix too would be ideal. The only app I've found that seems to offer this is GPGTools, but that's OSX-only :(

For context, I'll explain the "why." My keychain has numerous public keys on it that I don't want an attacker or curious admin to see. Likewise, some of my private keys I also would like to keep secret. It would be a big SIGINT fail if people could infer who I've been communicating with via my collection of keys. This seems like such an obvious feature, that I'm somewhat baffled I can't find a solution.

P.S. For extra credit...is there any way to annotate keys? For instance, if someone's public key identity is "nobody[at]foo[dot]bar", is there any way to add a personal "note" as an annotation so I can tag it "belongs to somebody[at]realdomain[dot]com" ?

Any suggestions greatly appreciated!

1 Comment
2022/07/30
07:30 UTC

1

Need help with signing multiple files within a folder.

So I need to sign the files to send to a bank And I have a batch file directly which works and has been approved by the bank. Two problems I have are one, if there are multiple files Within the folder, the signing does not work, the second issue is I need to include the passphrase within the batch job as it asks for it occasionally and I need to enter it manually. Any help is greatly appreciated!

Also this is Signing only, encryption does not needed.

0 Comments
2022/06/30
16:18 UTC

1

Kleopatra Look Up

I am doing something that I thought would be very easy and it is not working. I downloaded gpg4win 4.0.2 and I'm attempting to use the look up function and it returns nothing. Any suggestions? Thank you.

1 Comment
2022/05/12
14:26 UTC

1

Max mail size

Hey guys,

i get the error that the message size exceeds the server limit. GpgOL then receives the "AttachmentRemove" event and even brings up the attachment has been removed warning and the attachments are not all shown.

What am i missing? The mails are about 15-20MB and already pretty shrinked. Can i raise the limit? to date i thought there is no server involved, just the keys.

- kleopatra on windows 10

- outlook with exchange online

- mail partners using pgp domain keys

thanks in advance

3 Comments
2022/02/10
19:39 UTC

1

"The data could not be verified" when attempting to decrypt Facebook .asc

When I go to decrypt it, it's saying that the signature was created with an unavailable certificate, it shows the ID in which I don't have any files that match it as I made sure to back everything up. Would anybody be willing to give me a helping hand? Many thanks!

4 Comments
2022/02/08
20:13 UTC

2

Attach key automatically on outlook 2016

Hi there, do anyone know if it is possible to automatically attach my public key to new emails and answers in outlook 2016 with gpgol, or with anything else ? Did not find anything in the plugin settings. Searched but did not find anything.

0 Comments
2022/02/03
22:50 UTC

0

I wanna go fast...

Okay, bit of a hypothetical. But what hardware would you suggest to get really fast encryption and decryption rates. Would it be fast ram, fast processor cores. Super fast solid state units. This is for large data files. Gigabytes in size.

1 Comment
2021/12/14
12:17 UTC

2

Verifying PGP Signatures with a binary file and ASC file, but no SIG file

I am able to verify PGP signatures when the source has a clear link to the SIG file, or provides clear instructions on how to get it.

What I want to know is this: how am I supposed to verify PGP signatures when I can get a binary file and its ASC file, but there is no clear way to get its SIG file? This is the situation I find myself in when trying to verify the PGP signature for qBittorrent.

By the way, I am using Windows and installed the gpg4win package.

15 Comments
2021/10/09
02:14 UTC

1

Cannot decrypt

Hi guys

ā€‹

Need some help please.

ā€‹

I have a message that I am trying to decrypt but keep getting "cannot find secret key"

ā€‹

Can anybody help

ā€‹

Have spent hours at this but still cant figure it out

4 Comments
2021/05/08
09:44 UTC

3

Kleopatra - No secret key after computer issues

Hi, wonder if anyone can help here.

My laptop had a fit and lost programs, frustratingly Kleopatra bit the dust. I downloaded again, but when I try to decrypt a message for me, it's saying no secret key. I have the secret key and the Public key, don't know what else to do. I understand how it works but not overly technical otherwise.

3 Comments
2021/03/24
18:16 UTC

4

Error message all of a sudden when I decrypt using my default public key

Hey there, im a self-professed gpg hater with the technical skills of 2 year old. I use gpa almost exclusively because it has been the easiest for me to use. Without getting into it too much, let's just say I need pgp encryption for opsec reasons whilst using the dark web. I've had the same default public key for about 7 months . Its not set to expire until 2025 and yes I have both public and secret keys. This morning I went to decrypt a message and all of a sudden got an error message saying "The gpme library returned an unexpected error....No secret key.

This is either an installation problem or a bug in gpa."

I made no changes or updates to my public key or to the gpg/kleopatra/gpa settings. I have my backup key pair saved in a folder but so far from mucking around I have yet to see a way to replace the existing default with the back up keys.

Please help im so frustrated right now this program is NOT intuitive and please don't tell me to do command line stuff no matter what I do I can never get commands to work. Any help would be greatly appreciated!!

0 Comments
2021/01/06
17:35 UTC

3

How can I deselect both Kleopatra and GPA while installing gpg4Win?

2 Comments
2020/09/26
13:11 UTC

2

Twitter: @gpg4win: RT @GnuPGcom: Gpg4win-3.1.13 has been released with the updated @gnupg Version. As usual it is available under https://t.co/ooSfVbrJmc our customers have been informed and received an updated GnuPG VS-Desktop version.

0 Comments
2020/09/04
15:33 UTC

1

Help with GPG Command Line Decryption

So before the pandemic hit, I was working to decrypt a file sent to me. I created the public key for the other person to encrypt data in a flat file. I received the encrypted flat file. I got it working but I can't remember the command syntax that I used and forgot to document it before everything shut down. Now, I'm trying to do decrypt the data in the file again and finalize my code. I'm using my private key but I'm getting errors. More specifically, I run the following command:

gpg -o "C:\\Users\\atrapp\\Documents\\20200324.txt" --decrypt C:\\Users\\atrapp\\Documents\\20200324.txt.pgp

I get a dialog prompting me for the passphrase. I enter it and then I get this message.

gpg: encrypted with 4096-bit RSA key, ID ,<ID Here>, created 2020-03-24

"Angela Trapp atrapp@mycompany.com"

gpg: public key decryption failed: Bad passphrase

gpg: decryption failed: No secret key

When I list the secret keys, I see my secret key. What am I doing wrong? Also, I'd like to ultimately get it working with the passphrase dialog suppressed. Any guidance there is appreciated!

3 Comments
2020/08/21
02:35 UTC

1

Twitter: @gpg4win: Additional hint: With https://t.co/Lhzle9OwS4 the exchange of pubkey can be done much user friendly (enabling automatic encryption). https://t.co/uQPrpr4qkv

0 Comments
2020/08/12
15:33 UTC

1

Twitter: @gpg4win: #Gpg4win version 3.1.12 released (24th of July). One security issue fixed. A number of improvements to the Outlook-Add-in, the next version of stable @GnuPG (its crypto engine) + a bit to better the expert tool Kleopatra. https://t.co/33AzkHJE8O #FreeSoftware #EndtoEndSecurity

0 Comments
2020/08/12
15:33 UTC

2

Iā€™m trying to verify my GpgWin4 3.1.12 installer

I downloaded the installer with Firefox and tried the extension until I saw to use the ā€œpropertiesā€ method. I was able to match with some values (somewhere) in the certificate mainly:

S/N Issuer Sha1_fpr

But I canā€™t seem to match the other parts fully like:

Subject Md5_fpr

As Iā€™m trying to use it to verify a tails and qubes images I have to create a dual bootable usb.

Should I continue with my installer and what steps do I need to take to verify installer.

0 Comments
2020/08/08
04:08 UTC

1

Please help

Iā€™m trying to create a key but I keep failing due to ā€œinvalid packetā€ how do I fix it? I really need help

2 Comments
2020/06/12
18:26 UTC

1

No secret key....

I have a private key and a public key, but when I go to decrypt a message it gives me a warning that I have no secret key. How do I fix this? Any help is greatly appreciated!

5 Comments
2020/06/10
21:44 UTC

3

Exporting private key to import to multiple computers

Hi! I'm trying to export my private key so I can import it on multiple computers. The problem is that Kleopatra exports my key unencrypted and that's not secure AT ALL. Is there a way to export it encrypted with my passphrase?

0 Comments
2020/04/18
00:40 UTC

1

Newbie

Hello Iā€™ve just started using Kleopatra and got a msg from a friend but when I put it in to Kleopatra to decrypt it comes back with no signature found, any help is much appreciated:)

0 Comments
2020/03/24
18:36 UTC

1

No secret key error after reinstall

I had to reinstall gpg4win on a win 10 laptop, now I cannot decrypt messages. I get "The GPGME library returned an unexpected error at gpafiledecryptop.c:538. The error was:

No secret key

This is either an installation problem or a bug in GPA.

GPA will now try to recover from this error."

However, GPA reports the key set is valid, "The key has both a private and a public part
The key can be used for certification, signing and encryption."

I deleted that key set and restored from a backup, still getting the same error.

Any help appreciated, TIA.

2 Comments
2020/02/01
16:05 UTC

Back To Top