Questions tagged [gpg4win]

Gpg4win (GNU Privacy Guard for Windows) is encryption software for files and emails.

Filter by
Sorted by
Tagged with
0
votes
0answers
20 views

windows :GPG is prompting for passphrase even though passphrase cache is set in gpg-agent

I have preset the passphrase in gpgagent but still it is prompting for password first time. Following are the steps i did. installed gpg on windows from https://gnupg.org/download/ (version - 2.2.23) ...
0
votes
0answers
10 views

How do you use gpg4win from command line to encrypt or decrypt a file?

I have Windows 7. (Not Windows 10 so I don't have the fancy native "Windows Services for Unix" that Windows 10 apparently has) How do you use gpg4win from command line to encrypt or decrypt ...
0
votes
1answer
39 views

Gpg4win installation error

I'm having a problem with gpg4win. I (stupidly) experimented with the S/MIME encryption button in Outlook and even when I unchecked it, it caused GPG to hang while trying to "resolve signatures&...
0
votes
0answers
7 views

openpgp email not decrypted on gpg4win software

Here is an email which I got from forum it is in Open PGP format. hQGMA1zqDWLd6Tv2AQv/bTs/Ji2Bhb3E9rWgn8id8SNwvXOuN5+3YESvKXbodWVz tYrBjFA5Z0j3J5FPiMh3kP1mM/ylXy4TXL0FkbUOo0ngG6rPxJqYphch60Rmw72K ...
0
votes
2answers
167 views

CommandLine GPG: decrypt retaining original filename

I have a batch file that's used to decrypt files to a specific folder/filename, but I want to decrypt the file to a specific folder and not change the name, decrypting it from File090620.csv.gpg to ...
0
votes
1answer
199 views

Kleopatra GPG4win fails to publish key on server

I am new to PGP and wanted to test it. I have successfully created a keypair and wanted to publish on the server, but get the following error: The output from C:\Program Files (x86)\GnuPG\bin\gpg.exe ...
0
votes
0answers
34 views

gpg-agent.exe always active in background: Exit after inactivity?

I use GPG with Thunderbird, hence I have installed GPG on Windows. I rarely use GPG encrypted mails but sometimes I do and then gpg-agent.exe is started and left running forever. I would not mind but ...
0
votes
0answers
43 views

Gpg4win Setup failed to install GnuPG

I am trying to install Gpg4win on Windows 7 PC and I am getting an error that failed to install GnuPG, as below. Installs fine on other Win7 and Win10 machines. enter image description here Anyone ...
1
vote
1answer
251 views

How does GPG internally determine which key(s) to try to decrypt a given input encryption blob with?

I've been wrestling with GPG lately, and I have just (finally!) got it working. I can now input an encrypted blob to gpg.exe and it will output the plaintext version, assuming that it's a valid ...
0
votes
1answer
315 views

'Decryption Failed: No Data' with GPG 3.0.0 and Attachmate Reflection FTP Client

Team, I'm sharing some knowledge. I was trying to download some GPG encrypted .txt files from an FTP (using Attachmate Reflection FTP) and then decrypt them. I kept receiving the error 'Decryption ...
1
vote
1answer
869 views

Why does gpg4win's gpg-agent not authenticate me to ssh?

Preamble My understanding of gpg and ssh is medium-technical as a programmer and crypto-fan, but I'm not a huge pro in either's nitty-gritty details like configuration, "trivia" like alphabet soup ...
0
votes
0answers
1k views

Convert GPG private key to QR code?

How can I generate a QR code from a OpenPGP/GnuPG private key on Windows 7? Context: I created a private key pair on a Windows computer and want to import the key to my phone. The phone app has ...
1
vote
1answer
796 views

How to convert gpg4win's binary to ascii, with Notepad++

I can reliably convert gpg4win's ascii to binary using Notepad++ option "Base64 Decode" (credit: James K Polk). Works every time. But when I attempt the reverse, i.e. convert binary to ascii, it ...
4
votes
1answer
3k views

Scdaemon won't detect Yubikey on Windows 10

This has recently started after I updated to Windows 10 1803 (x64). I have updated Gpg4Win to the latest version (3.1.2), but this has not fixed anything. I have tried the following: Remove the ...
1
vote
0answers
327 views

How to globally disable update checks via gpgconf file on Windows?

What I want to do: We deploy gpg4win automatically and need to adjust some options. Currently I use a startup script to create and edit configuration files below the users %appdata% folder directly. ...
0
votes
0answers
86 views

Enigmail Security Info Error - decryption failed

Everything was working fine but now this "decryption failed" error shows up. I have tried reinstalling Thunderbird, Enigmail, and gpg4win, and even re-added my key.
1
vote
1answer
383 views

How to do RPM package signature verification in Windows?

I’m trying to do GPG signature validation to Centos 7 RPM files that I have downloaded. They are validated during the first download, but I am trying to another validation after they have been ...
1
vote
1answer
152 views

GnuPG encrypt a file using keys provided as files

I'm using GPG4Win to create a key pair. I'd like to be able to encrypt/decrypt a given file using myself as recipient so that I use exported key pair alone. I want to be able to do this from a batch (...
0
votes
1answer
452 views

Make git ask Kleopatra to unlock GPG key for specific e-mail address

I'm on a Windows 10 machine with Gpg4win and Kleopatra installed, as well as the most recent version of git. In Kleopatra I have two OpenPGP certificates loaded, let's say for these e-mails: john.doe@...
1
vote
1answer
2k views

gpg: Note: '--passphrase' is not considered an option

I am running on Windows. gpg --version gpg (GnuPG) 2.2.4 libgcrypt 1.8.2 I am trying to decrypt multiple files, as follows: gpg --batch --decrypt-files *.gpg --passphrase secretPassword I get ...
4
votes
1answer
4k views

Gpg-agent under Windows as SSH Agent for git bash

gpg-agent has options "--enable-ssh-support" and "--enable-putty-support" that allows it to use it as a drop-in replacement for the well-known ssh-agent. I've been pulling my hair out trying to ...
1
vote
1answer
406 views

Exporting subkeys impossible on Windows GPG

I followed this answer to have a different password for signing subkey than for master key. The instruction suggests to list the keys from my pubring: >gpg --list-keys C:/Users/OEM/AppData/Roaming/...
3
votes
1answer
4k views

How to set the default GPG encryption key?

Say I am using only one encryption key most the time. How do I set the default encryption key in order to avoid mentioning it in the encryption command In other word, I want this command: gpg -e ...
2
votes
0answers
2k views

How to configure gpg2 to ask for passphrase on the console instead of in a popup window?

I am trying to configure Gpg4win to not use the popup window to ask for a passphrase. I only use gpg2 from the command prompt, which means the popup window is both annoying and disruptive since it ...
3
votes
1answer
1k views

Why is “GPG -K” not showing all keys listed by “GPG --edit”?

Issue: I get a different list of secret keys when using gpg -K than gpg -edit, and the missing keys can no longer be used to decrypt. How do I fix this? Example: C:\...\>gpg --edit 11111111 gpg (...
1
vote
0answers
288 views

gpg-agent doesn't background

Maybe I am misunderstanding, but when I launch gpg-agent, it never goes into the background. $ gpg-agent --daemon --verbose gpg-agent[16136]: listening on socket `C:\Users\OliverSalzburg\AppData\...
1
vote
0answers
203 views

How to analyze and fix a broken private PGP key?

I have 2 sets of keys on my Windows 7 system with GPG4Win tools installed (including Kleopatra key management) and 2 Enigmail-based email clients (Thunderbird + Seamonkey) and Claws, which uses an own ...
1
vote
1answer
7k views

Decrypt file from private key .ppk

I got files from our developer, those files are (private key = file.ppk), (public key = pub.asc), and (encrypted file = file-encrypt.txt.pgp). Person who has created these files has resigned and just ...
1
vote
1answer
2k views

How to verify the authenticity of GPG4win download file?

I am attempting to verify that the GPG4win file I downloaded is actually legit. I have access to a machine that has a verified GnuPG installation. I ran > gpg --recv EC70B1B8 > gpg -v --verify ...
0
votes
0answers
2k views

GPG SmartCard (YubiKey) Private Key Export

I'm using GPG4Win on Windows, with a YubiKey 4. I generated the keys using the --card-edit prompt, so they should (AFAIK) have never left the card. Using PuTTy integration, it works great for SSH ...
0
votes
1answer
3k views

Gpg4Win's Kleopatra can only store one keyserver

I want to push my public key to several key servers, but Kleopatra seems to accept only one key server. All attempts to add new key servers fail, in the sense that I can add, but whenever I press OK ...
3
votes
2answers
3k views

“gpg2 not a key id: skipping” when trying to download public keys

I downloaded Ubuntu 16.04 to run on VirtualBox (Windows 10 host). I would like to verify the download (Ubuntu instructions). From the instructions: Tip: On non-Linux systems, you might need to ...
6
votes
1answer
7k views

Where is my gpgconf file on Windows?

With GitHub's recent announcement that they're supporting GPG verification, I've decided to set up GPG on my machine. Unfortunately, every time I sign a commit, GPG outputs the following message ...
1
vote
1answer
489 views

How do I find a complete GPG fingerprint when verifying a signature?

When I right-click a signature file and click More GpgEX Options -> Verify, it says it's valid, showing my email address and last 8 hex digits of my fingerprint. Doing Right-click then GPGshell -> "...
1
vote
1answer
582 views

Which reason in GPG for revoking key should I choose?

I want to generate revocation certificate for my GPG key, print it out and keep securely in closed envelope up till I'll loose access to this key (accidental removal/pen drive loss/theft). Which ...
0
votes
1answer
795 views

GPG/Kleopatra: Import missing certificate for email

I received an encrypted+signed email. How do I import the key used to sign it? Signed on 2015-09-29 12:01 with unknown certificate 0xAFF6229E09591DDB. The signature is invalid: No public certificate ...
0
votes
1answer
3k views

How to decrypt GnuPG encrypted folder?

I received a file with ".pgp" extension. I decrypted it successfully, but the resulting file seems to be wrong: the sender encrypted a folder, not a single file. However, I do not see a folder after ...
2
votes
2answers
494 views

How to replicate GPA's Sign and Compress option on command line in Windows

As the title says, I need to replicate GPA's "Sign and Compress" option on the command line. I'm trying to automate some encryption of files for submission to a bank and the instructions they gave me ...
1
vote
1answer
3k views

Trying to verify file signature in GPG4win: Not enough information to check signature validity

I've downloaded enigmail for Thunderbird and I'm trying to verify the PGP signature with GPG4win. I imported the public certificate, certified it with my own, downloaded the Open PGP signature, and ...
1
vote
2answers
3k views

Errors generating gpg keypair

I posted this originally on stackoverflow, but was told that it was offtopic and this would be the better place to post it, so I am reposting it here and deleting my original topic. I have a rather ...
0
votes
0answers
456 views

Cannot select my own key for encryption

When using the context menu to encrypt a file, my own certificate is not listed in the list, despite having successfully imported it and marked it as my own. I see it in the My Certificates tab in ...
4
votes
1answer
553 views

Why trust a public gpg key?

I'm trying to verify the integrity of TrueCrypt binaries (not the source like Xavier). Am using Xavier de Carné de Carnavalet's Guide "How I compiled TrueCrypt 7.1a for Win32 and matched the official ...
1
vote
1answer
953 views

Cryptophane not working after format

I am using Cryptophane as a Windows front end for GPG. I used it before, and all was well, until I formatted my computer - I am now trying to restore my key database. Steps I did: Install GPGWin ...
1
vote
1answer
18k views

Using the GNUPG Encrypt Command on Windows 7 Professional

I am using the Windows port of GNU Privacy Guard "light" release for version 1.0.9 installed on a windows 7 professional laptop. Installed in the default directory of : C:\Program Files (x86)\GNU\...
4
votes
1answer
11k views

How to transfer Kleopatra / GnuPGP/ Gpg4win PGP keys from an old hard drive to a new computer?

I used to use Kleopatra on an old Windows XP machine. The hard drive of the aforementioned computer was transferred into an external enclosure and is available; GPG4Win version 2.0.1 was on that ...
3
votes
1answer
359 views

GPG and PGP keyring compatibile

I have PGP Desktop 8.1 installed (PGP Corp) I wonder if I can use GPG with same keyring as PGP does?
1
vote
2answers
2k views

Is there a guide to setting up Mozilla Thunderbird to use my GPG keys to sign and/or encrypt email messages on Windows?

I see instructions on websites and questions here about using GPG keys with Thunderbird in Linux, but nothing on Windows. I have GPG, Kleopatra, and Thunderbird 3 installed on Windows, I made my GPG ...