Questions tagged [gnupg]

GNU Privacy Guard (GnuPG or GPG) is a GPL Licensed alternative to the PGP suite of cryptographic software. GnuPG is compliant with RFC 4880, which is the current IETF standards track specification of OpenPGP.

Filter by
Sorted by
Tagged with
0
votes
0answers
12 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
6 views

Can't revoke GPG key on Ubuntu keyserver

I am trying to revoke a GPG key on the Ubuntu keyserver. I have imported the revocation certificate into my GPG keychain and have used gpg --keyserver http://keyserver.ubuntu.com --send-key ...
0
votes
0answers
102 views

Encrypt pgp symantec and decrypt gpg(from p12) [closed]

There are some producers who encrypt files with pgp symantec tool(not openpgp) and in my application i have to consume the data by decrypting with gpg. Originally the decryption was done with pgp but ...
0
votes
0answers
14 views

Why does gpgtar give no such file or directory, when the encrypted file was inside a directory

Reproduction details: mkdir foo touch foo/bar.txt gpgtar -c -o foo.gpg foo/bar.txt # Type in passphrase "foo" twice gpgtar -d foo.gpg Error: gpgtar: gpg: AES256 encrypted data gpgtar: gpg: ...
0
votes
0answers
9 views

Using GPG4USB, lost my passphrase :(

Hey folks ! I´m using gpg4usb and lost my passphrase. I got my pub key and private key. Any ideas how i can grab my passphrase again? regards, ontheROX
0
votes
1answer
27 views

GPG - invalid marker packet

can anyone help with the following gpg issue? Trying to decrypt an very old gpg-encrypted file (i assume it's a zip archive) fails with a simple "invalid marker packet". Trying --list-...
1
vote
0answers
50 views

Can I decrypt a gpg encrypted file on any computer?

I am storing some 2FA recovery keys inside a txt file, which I then encrypted using gpg -c file, I can decrypt it fine in my own computer (virtual machine actually). But I was wondering, if something ...
0
votes
1answer
38 views

gpg: decryption failed: No secret key

First, I spent an hour trying answers with similar titles so please read this through before flagging this question as a duplicate. I use a YubiKey to store my PGP private key using its smart card ...
0
votes
0answers
16 views

How to add a recipient to a gpg file?

Is there a way to add a recipient to a given gpg file from the command line ? I have read this question but this assumes that I can list the current recipients myself. I want to preserve the current ...
0
votes
0answers
24 views

Disable gnome keyring on debian buster

I have reached my breaking point with trying to figure this out on my own on Debian Buster. I am almost never in front of the computer on which I'm running gpg, so having the passphrase prompt be a ...
0
votes
0answers
20 views

What are the use cases for a certification PGP subkey?

What are the use cases for a certification only PGP subkey? I am not sure if GnuPG supports it but I know Sequoia does.
0
votes
0answers
17 views

Why does GnuPG use a GUI and how can I customize/change it?

*By pass I meant pass for Unix, the standard password manager. I set up GnuPG to use pass and it works just fine. Whenever I need to enter my password, however, I have to enter it in a popup. This ...
0
votes
1answer
109 views

Mac GPG can't generate smartcard keys

Mac OS X Catalina 10.15.7, Homebrew GPG 2.2.23, brand new Yubikey 5C Nano, homebrew pinentry-mac 0.9.4 % gpg --card-edit Reader ...........: Yubico YubiKey OTP FIDO CCID Application ID ...: ...
1
vote
0answers
213 views

Thunderbird's new OpenPGP integration fails to recognise my keys

I have just upgraded from Thunderbird 68 with Enigmail to Thunderbird 78, with its native OpenPGP features. However, the migration from Enigmail didn't succeed and it fails to associate the keys in my ...
0
votes
0answers
24 views

GPG returns “Not Enabled” for searching and receving keys

When I try to use gpg to search a key server I get the error: gpg: error searching keyserver: Not enabled and gpg: keyserver search failed: Not enabled. A similar error occurs when attempting to ...
1
vote
1answer
139 views

Can I tell the gpg-agent to never ask me for a password?

I am working with a remote SVN repo every day, running on Ubuntu 20.04 on WSL2. But I don't want to enter the SVN sever password every time I update or commit. So I enabled the GPG password store like ...
0
votes
1answer
38 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
10 views

How gpg using password works?

I have this file that I have encrypted some time ago in a virtualmachine with password (gpg -c file.txt) and after one year, I wanted to decrypt it (it's a backup for MFA). But bad luck, I couldn't ...
0
votes
0answers
73 views

gpgv: can't allocate lock for '~/.gnupg/trustedkeys.gpg' after importing keys

I'm currently trying to set up a small (partial) ubuntu mirror. Doing this, I stumbled across gpgv. And as I need gpgv for verifying the signatures of the mirror files, I tried importing the ubuntu ...
0
votes
1answer
50 views

What is --export-secret-subkeys used for?

From the docs: --export-secret-keys --export-secret-subkeys Same as --export, but exports the secret keys instead. The exported keys are written to STDOUT or to the file given with option --...
0
votes
0answers
18 views

Is it possible to have more than one GnuPG keyring to organize contacts?

Strangely I can’t find anything on the subject on DuckDuckGo... someone knows if this is possible and how?
0
votes
0answers
15 views

How to use GPG forwarding between two Windows PCs?

I have two PCs (laptop and desktop), both running Windows 10. On both, I use the Microsoft bundled version of OpenSSH (Client on the laptop and Server on the desktop), and also GnuPG for signing my ...
2
votes
1answer
304 views

How to fix “WARNING: not a detached signature”?

I am trying to sign a Python file using the following: gpg --sign --output ./ulagen.py.sig ./ulagen.py When I verify the signature using gpg --verify ./ulagen.py.sig, I get the following error: gpg: ...
0
votes
1answer
91 views

gpg: Unattended/Automated Key Generation

The --batch option to gpg is limited to generating a key with a single subkey. For anything more complicated, I am trying to use --command-fd and --status-fd. The problem I face is that I am unable ...
0
votes
0answers
236 views

GnuPG: how to disable gpg-agent, passphrase-input requests for some keys on per-application basis?

(This is a macOS environment, but not necessarily a macOS-specific problem, hence superuser.com.) Every gpg-agent/pinetry (I guess?) request run on my macOS 10.14.6 system requests a passphrase for ...
1
vote
1answer
126 views

GPG Keys and Emails

I have been testing out GPG keys and were studying the changes of the keys when adding/removing users on the key. If I add a user Alice upon key generation. I export the key pairs's public and private ...
1
vote
0answers
464 views

Where does GPG store its interactive prompt history?

When invoking the interactive prompt for GnuPG (gpg> )with say gpg --edit-key <keyID>, one can then scroll through commands that have been run in this prompt with the up/down arrow keys just ...
0
votes
0answers
15 views

Decrypt with private gpg key after public key is deleted

Situation: Deleted ~/.gnupg/pubring.gpg, after that gpg --list-keys / gpg --list-secret-keys shows no output. No backup of my public key, not uploaded to any keyservers -> can't restore it Still ...
0
votes
1answer
58 views

should user have access to .gnupg/private-keys?

[I am new to using command-line gpg and might have messed up some steps during key creation. For privacy purposes I am redacting all key information with [REDACTED]] My gpg has my pubkey listed $ gpg -...
0
votes
0answers
22 views

encrypted password file with emacs & gpg

I want to keep all my passwords and logins in a gpg-encrypted file, that I want to access using emacs in the terminal on ubuntu. I want to be prompted for the 'master' password when opening the file, ...
0
votes
0answers
33 views

What is the correct syntax for the default key in the gpg.conf file? Path = C:\Users\admin\AppData\Roaming\gnupg\gpg.conf

Version of GPA I'm using Hello, I'm new here so if I break any rules of the forum I am apologizing in advance. I'm using the version specified in the screenshot and my question is simple. Everything ...
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
0answers
29 views

How to organize one OpenPGP key for many non public identities?

I want to use the same gpg key for public@example.com info@example.com private@example.com private@example.edu private@example.net I do not want that the private contacts are uploaded to any ...
0
votes
1answer
76 views

Convert DER encoded certifcate to PGP file

I have company.cer file which is a DER encoded certificate which I received from someone. I need to convert this file to a PGP file so that I can use gpg --import <key> How can I do this? I ...
0
votes
0answers
65 views

dget - “Can't check signature: No public key” yet key is present, and path to keyring is set?

I'm trying to use dget to install a package from debian mentors. I've successfully grabbed the maintainers public key and installed it: gpg -k /root/.gnupg/pubring.gpg ------------------------ pub ...
0
votes
0answers
16 views

Can't delete my “sec” key with gpg@2.2.20

Using macOS@10.15.4 and gpg@2.2.20, I ran the following commands: gpg --edit-key MY_UID gpg> list sec rsa4096/2D2FB970821B6E0E created: 2019-01-30 expires: never usage: SCEA ...
1
vote
1answer
16 views

How to force password re-entry for gpg with OSX keychain?

I'm using gpg on an OSX machine and I saved the password on Keychain for a long time. I wanna re-enter the password to make sure it is the correct one, but I don't want to be locked out of gpg so I ...
0
votes
0answers
20 views

How can I remove a cert notation from a pgp key?

I added a notation to one of my PGP keys. I want to remove it. The man page for GnuPG has the following man entry: -N, --notation-data name=value Put the name value pair into the signature as ...
0
votes
0answers
55 views

Is it possible to verify a GPG file signature on Linux & Windows without internet connection?

Can you please hint me to the steps I need to verify a file's signature (without connecting to the Internet) on command line using GnuPG, when I have the three required files ready: installer file (....
0
votes
0answers
22 views

Password store for desktop

I am using pass for ages and it's been great. Sync(th)ing pass DB to android, etc. Just great. Now I switched email from webmail to mu4e (emacs) and so I'm syncing my IMAP mailbox to local copy which ...
0
votes
0answers
13 views

Git repos and subkey expiration

I sign all of my commits for all the git repositories I use. I also enforce pretty strict security and only keep subkeys on my computer (and my master safely stored elsewhere) and I have my subkeys ...
1
vote
1answer
45 views

Override default GPG key in a git repo

Context On my machine, I have set up a global git user in ~/.gitconfig, with my private details: [user] name = ebosi email = me@private-email.com signingkey = 0123456789ABCDEF However, ...
2
votes
0answers
18 views

How can I label a GPG key I received

I got a public GPG key from John Doe, but I know him better as computer_lemon2929 on superuser.com. Every time I need to encrypt something to him or come across a signed commit or whatever of his I ...
3
votes
0answers
117 views

libreoffice how to digitally sign pdf export with gpg key

I am trying to export as a pdf and add a signature, or add a signature to an existing pdf, but whenever I try to export, after selecting a gpg key to use for the certificate (I don't fill in any of ...
0
votes
0answers
30 views

gpgsm how to generate a key for signing a pdf

I am trying to sign using a gpgsm key. Anything wrong with or to improve with these steps? Trying to generate a key gpgsm --gen-key selecting existing key (from my gpg keyring) gpgsm asks for a ...
0
votes
0answers
79 views

gpg not listing secret key - key lost?

So I'm running kali linux in a vm. Until a couple of days ago, decrypting with my secret key worked just fine. But since then my key appears to suddenly have gone missing. Neither gpg --list-keys nor ...
0
votes
1answer
572 views

gpg-preset-passphrase: caching passphrase failed: Not supported

I am building a script that is using msmtp to send myself regular system reports by email. I have used gpg to encrypt my email password and used password-eval in msmtp.conf. I sent a test email ...
0
votes
1answer
182 views

Cannot find gpg.conf and gpg-agent.conf using gpg 2.2.12 on Raspbian Buster

I am using gpg to encrypt my email password that I pass on to msmtp in order to send email. I initially ran gpg --full-gen-key to generate a pair of keys. During the process, it asked me for a ...
0
votes
1answer
384 views

How to find out symmetric encryption algorithm used in PGP encryption (with GPG)?

I would like to be able to check which (inner) symmetric algorithm was used to encrypt a file with GPG using a public key. Somewhere I've read this can be done with --list-packets, so I tried $ ...
0
votes
0answers
24 views

Cannot find key of PGP bot

I'm trying to configure Thunderbird with Enigmail following the Email Self-Defence Guide, but I cannot find the public key of GnuPG bot. email: edward-en@fsf.org

1
2 3 4 5
14