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
9 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
31 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
12 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
12 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
19 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
13 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 ...
2
votes
0answers
27 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
15 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
23 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
130 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
32 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
49 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
16 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
0
votes
0answers
13 views

gpgconf cannot find --launch option

When running gpgconf --launch gpg-agent I get: gpgconf: invalid option "--launch". My gpgconf version is:gpgconf (GnuPG) 2.0.22 and I am running centos-release-7-7.1908.0.el7.centos.x86_64. Any help ...
0
votes
0answers
8 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 ...
1
vote
1answer
24 views

Create revocation certificate - “No secret key”

I have a GPG key, I can verify that I have the secret key and print out its content: $ gpg --list-secret-keys /home/user/.gnupg/pubring.kbx ------------------------------ sec# rsa2048 2019-07-11 [...
0
votes
1answer
75 views

apt pretends keys not available. Not true

I deleted /var/lib/apt and /var/cache/apt because I had weird issues with apt I could not get rid of. Now I always get: Get:1 http://security-cdn.debian.org buster/updates InRelease [65.4 kB] Err:1 ...
1
vote
1answer
19 views

GPG difference between signature and clear signatue

I made a file named 1.txt. It has three lines of text. I ran "gpg --clear-sign 1.txt". That created a file named 1.txt.asc. When I opened the file in Notepad, it was readable. It had the three lines ...
0
votes
0answers
26 views

gpg can't read stdin on ubuntu

I'm trying to verify a Fedora ISO. The command curl https://getfedora.org/static/fedora.gpg | gpg --import Outputs: gpg: no writable keyring found: Not found gpg: error reading '[stdin]': General ...
0
votes
1answer
28 views

GPG on Mac freezes when asking for my passphrase

When I try to decrypt a file using gpg, gpg just freezes after asking for my passphrase. $ gpg foo.asc You need a passphrase to unlock the secret key for user: "Edward A. Falk <falk@efalk.org>"...
2
votes
2answers
201 views

How to revoke a GPG Key and upload in GPG server?

I have create GPG Keys for code signing and created a revocation certificate also. As far as I know, if key is compromised then i can revoke the key using revocation certificate. Can someone suggest ...
0
votes
1answer
62 views

Still confused about GPG keys and subkeys

I just generated a new key with gpg --quick-generate-key Now, when I do gpg --list-keys itz@no-use.mooo.com I get something like this: pub rsa2048 2020-01-29 [SC] [expires: 2022-01-28] ...
0
votes
0answers
27 views

Tunneling yubikey auth via GPG over SSH stops working

I have a couple of Raspberry Pis running Raspbian that I connect to from my Mac running MacOS Catalina. On my OSX Client I am running GnuPG 2.2.16 (gpg --version). In my ~/.ssh/config I have the ...
0
votes
0answers
41 views

RSA/RSA ./. RSA Legacy

In my old pgp-List I see different Keys: RSA/RSA 2048/2048 RSA 2048 I can't get the RSA Legacy (just that with 1 RSA) into my GPG-Key-List (Kleopatra). What can I do? I need them because I have ...
0
votes
0answers
16 views

GPG key send finishes,but I cannot find from server

Is there something wrong with the following commands? C:\Users\haven>gpg --keyserver hkp://pool.sks-keyservers.net:80 --send-keys 04F938BAC0E994DB66B84B81E5B36F8FA417ED72 gpg: sending key ...
1
vote
2answers
285 views

How to convert gpg public key from binary to ascii without import

I have a GPG public key key.gpg in binary format. I would like to convert this to ASCII so that the resulting file has the header -----BEGIN PGP PUBLIC KEY BLOCK----- The process I am setting up to ...
0
votes
0answers
23 views

How to move legacy git repository to Gitlab that require GPG sign?

Currently the company I am working for has a legacy git repository that host elsewhere and all commits are not GPG signed. The project is getting bigger and more people are working for the same ...
1
vote
1answer
54 views

Authenticating SSH and GPG keys from another user on same machine

I'm curious if this is possible or even recommended. Let's say that I want to prevent people from being able to steal my SSH or GPG keys if they manage to compromise my user account (Let's call the ...
0
votes
1answer
40 views

Using GnuPG; I enter one keyID for “edit key” command and then get a different key in the “edit” menu

Please help me to understand what is happening. On command line in Windows I learn that my key is 4096 and expires on 2020-07-31 C:\Users\Vivarto>gpg -K C2EBD198 sec 4096R/C2EBD198 2018-08-04 [...
0
votes
1answer
117 views

Which email to sign commits with for GitHub and retain privacy?

I have my GitHub account set to keep my personal email address private. The only place my personal email address is used at GitHub is to email me notifications. This means that an address of the form &...
2
votes
2answers
33 views

gnupg export secret key security concerns

gpg2 man pages says following: `Note that exporting a secret key can be a security risk if the exported keys are sent over an insecure channel.` I assume that exported key is encrypted with ...
0
votes
1answer
126 views

How to verify a gpg-signed file against a specific public key?

Background information: I have a directory full of files and detached .asc signatures. I also have my default keyring which includes many public keys of people (some of whom I trust and others I don't)...
0
votes
0answers
25 views

GPG — Synchronisation between machine and “No secret key”

I am running "pass: the standard unix password manager" v1.7.3 on Fedora 31. I create a password for "mysite" via $ pass generate mysite It creates an entry in my .password-store folder: mysite....
1
vote
1answer
145 views

Combined decryption and unzipping of a file

I have an encrypted file like file.zip.gpg. Decryption is done using gpg --output file.zip --decrypt file.zip.gpg and unzipping the archive contents using 7z(a) x file.zip afterwards. The first ...
1
vote
1answer
30 views

Debian third party packages and deriv-archive-keyring

I'm researching how to supply some software as a Debian package. I intend to act as a third party supplier, and forgo adding the sources to Debian through a sponsor. Users must add the appropriate ...
1
vote
0answers
30 views

Where are my public / private GPG keys and how to share them (on Mac OS)?

I am using Mac OS with GnuPG (installed via Brew). I run: gpg --gen-key enter my name and email address then it said that it generated a key pair. Now, I have no idea where are the keys and how ...
0
votes
0answers
36 views

Strong encryption for a local file (PGP)

Just a quick disclaimer: I initially posted this question to Crypto site but was told it was too specific for that site. I am looking for a safe method to encrypt a local file on my machine. Let's ...
1
vote
0answers
193 views

No valid OpenPGP data found when trying to verify signature of .deb package with debsig-verify

Context I want to verify the signature of the last version of the slack .deb package (slack-desktop-4.1.2-amd64.deb), which I downloaded from https://slack.com/intl/en-es/downloads/linux. I am ...
0
votes
1answer
38 views

Commit signing ok on local workstation, but fails at same workstation over SSH?

I'm working on a Ubuntu 18.04.3 LTS x86_64 machine (fully patched). The machine has a GNOME3 desktop. Sometimes I sit at the workstation, and other times I SSH into the workstation. When sitting at ...
1
vote
1answer
264 views

How to store GPG keys in TPM

Am working on GPG mechanism to code sign my debian packages. I have generated both Master Key pair and Subordinate Key pairs to sign my packages. Now i want to store my key-pair in TPM hardware ...
0
votes
0answers
49 views

How to retrieve gnupg key-id used by many gpg commands

I'm unable to comprehend the similar questions-answers, so could someone please explain how to retrieve the key-id referenced by many gpg commands, such as gpg --send-keys <key-id> to export ...
0
votes
0answers
19 views

How can I trigger pinentry without initiating a signing or encryption request?

I use a YubiKey smartcard to hold my private keys. When using Tower (a macOS git client) things get messy when the YubiKey is locked. I would like to manually unlock it using iTerm2.
0
votes
1answer
224 views

How do I get the “user name” field from a public key block with GPG?

The fact that I have to ask about this after plowing down so many hours into this already tells me that at least one of these two statements is true: I'm doing something horribly wrong. PGP/GPG is an ...
0
votes
1answer
91 views

gpg won't use GNUPGHOME environment variable

I've set GNUPGHOME to '/somedir/gpg', and it is set, as echo $GNUPGHOME returns the correct value in both bash and zsh. However, gpg -h still lists ~/.gpg as the homedir and it can't see my keys. I ...
1
vote
1answer
128 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
0answers
64 views

pass password prompt from systemd user unit

I have a systemd user unit which invokes vdirsyncer to sync calendars. I have configured vdirsyncer to use pass (unix password manager) in order to get the CalDAV password. However, when this unit is ...
0
votes
2answers
91 views

How to automatically obtain keys in Evolution for e-mail recipients? (key discovery)

I am using the PIM Evolution 3.22.6 for e-mail and contacts. For encrypting e-mails gpg (GnuPG 2.1.18) is used by Evolution. How can I configure my system such as when I compose an e-mail the PGP ...
1
vote
1answer
390 views

What is the best command line option to use to encrypt files using GPG on Mac for personal upload to the cloud?

I would like to use gpg on my Mac, which I currently have installed. I saw that a lot of options with the documentation on gpg are for sending and receiving files to someone else, which I am not ...
9
votes
1answer
3k views

gpg: can't import key: “new key but contains no user ID - skipped”

I am trying to import Github's webflow signing key on a fresh install of Raspbian (Debian) Buster. $ gpg2 --recv-keys 5DE3E0509C47EA3CF04A42D34AEE18F83AFDEB23 gpg: key 4AEE18F83AFDEB23: new key but ...
1
vote
1answer
36 views

getting the error “Medium without key” while installing my rpm from my repo

O.S: Mageia 5 Problem: I build rpm , sign it and add it to my private repo. I exported my key using the command gpg --export -a 'MY NAME' > RPM-GPG-KEY-pmanager I took this key and imported it to ...

1
2 3 4 5
14