Questions tagged [gpg4win]
Gpg4win (GNU Privacy Guard for Windows) is encryption software for files and emails.
57
questions
0
votes
0
answers
21
views
How do you know if GPG verified the integrity of a downloaded file, and not just authenticated the signature?
How do you know when using GPG4Win/GnuPG/GPG to verify a downloaded file, if the file itself has been verified for integrity and has not been changed? Rather than just confirming the signature.
How ...
0
votes
1
answer
31
views
Does GpgOL attempt to grab public keys off a default keyserver?
I currently have a customer who noticed firewall logs pointing to a URL that was never used by them before. They blocked all traffic to and from the domain of another company that was recently hit by ...
0
votes
0
answers
81
views
GPG search-keys always returning Error searching keyserver: Certificate expired. How to resolve this?
I'm trying to verify a downloaded file using GnuPG in Windows 10. I had installed Gpg4win which installed GnuPG 2.3.4
My problem:
The following command (in powershell)
gpg --verbose --keyserver hkps://...
1
vote
1
answer
293
views
The Windows command line shows my GPG keys, but git bash does not?
I installed GPG4Win and Kleopatra on my Windows 10 system, and imported my public and private key files that were created on another machine. My goal is to sign my commits in Github using these keys (...
0
votes
0
answers
271
views
File can be decrypted with GPG on the command-line but not by Kleopatra GUI
A number of encrypted files we receive cannot be decrypted by the Kleopatra GUI but they can be decrypted on the command-line with GPG. Is this a known problem and is there a fix for it?
This is on ...
0
votes
2
answers
490
views
Cannot fetch GPG public keys with Kleopatra in Windows
Edit: I resolved the problem myself. Please see my answer below.
In Kleopatra (Windows), I have the following key server
When I try to fetch the GPG public key of XUbuntu (...
0
votes
1
answer
27
views
GpgmeppConfig.cmake not found
I am using Craft for building Linux applications in Windows, but the following error occurs when building a Linux application:
CMake Error at CMakeLists.txt:44 (find_package):
Could not find a ...
1
vote
1
answer
174
views
Can I leverage Windows authentication to use my private GPG key?
I have a private GPG key and a virtual desktop running Windows (VDI) I do development on. I have to authenticate to connect to the VDI and I am logged into the VDI as my own user. I can securely ...
0
votes
2
answers
433
views
Gpg4Win's Kleopatra not uploading to servers due to a "no name" error
The server is visible and functional on my side, I just can't upload anything to any servers due to the same "No Name" error, I've tried different certificates (*.asc files) and nothing ...
0
votes
1
answer
36
views
Encrypt Result Set from SQL statement
I have a task to run an SQL Statement, generate Result Set, encrypt it using GPG and send to user.
I am using GPG4Win-3.1.15 which contains GPG 2.2.x
It works fine for me BUT my goal is to get ...
1
vote
1
answer
41
views
Gpg4win keys stuck on failing Windows 10 HDD. What files do I need to extract before it stops working?
My friend's computer was not booting past the bios. He asked me to check it out. I tried to use a recovery USB but sadly chkdsk shows that there are way too many failing sectors on that disk.
Booting ...
5
votes
1
answer
294
views
How to get a PGP RSA key pair with a "rare" fingerprint, e.g. one that begins "ABBA"? (Windows 10)
On Windows 10, how can I automate the generation of PGP RSA key pairs, dumping each one if the 40 hex-character fingerprint doesn't begin ABBA (for example), stopping when a generated pair meets that ...
0
votes
0
answers
200
views
How to create PGP-signed textfiles using Kleopatra GUI for Gpg4win that include the message en clair before the signature?
I am using Gpg4win with the Kleopatra GUI on Windows 10 Pro. When I use my private key to sign a textfile the program produces a signed textfile that authenticates properly using my public key. But ...
0
votes
1
answer
390
views
Gpg4win installer signature validation: how to fix "WARNING: This key is not certified with a trusted signature!"
I am following the install guide of "OpenPGP signatures" of Gpg4win at Check integrity of Gpg4win packages.
Having also followed additional advice of how to import the Gpg4win public key ...
2
votes
2
answers
2k
views
Using GPG keys generated with WSL in Windows directly?
So I'm just trying to sign my LibreOffice documents digitally. I have generated my GPG key in a Debian WSL terminal using the gpg command line. Yet when I access my LibreOffice documents, File → ...
1
vote
1
answer
5k
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
1
answer
230
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
2
answers
927
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 ...
3
votes
1
answer
2k
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 ...
1
vote
1
answer
514
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
1
answer
757
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 ...
3
votes
1
answer
2k
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 ...
2
votes
0
answers
2k
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 ...
2
votes
1
answer
1k
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 ...
5
votes
1
answer
4k
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
0
answers
504
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.
...
1
vote
1
answer
632
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
1
answer
178
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
1
answer
683
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
1
answer
3k
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 ...
6
votes
2
answers
6k
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
1
answer
539
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
1
answer
5k
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
...
3
votes
1
answer
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
1
answer
2k
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
0
answers
307
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
0
answers
305
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
1
answer
9k
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 ...
2
votes
1
answer
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
0
answers
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
1
answer
5k
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
2
answers
5k
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 ...
9
votes
2
answers
13k
views
Where is my gpgconf file on Windows?
I'd like to edit my user-level GPG configuration file (or the system-wide config, if that isn't possible), but I don't actually know where the relevant files are on Windows (or where I should create ...
2
votes
1
answer
748
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 -> "...
2
votes
1
answer
752
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
1
answer
893
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
1
answer
4k
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
2
answers
566
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
1
answer
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
2
answers
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 ...