Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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
1answer
19 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 ...
0
votes
1answer
28 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
27 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
14 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
0answers
14 views

How is it possible that GPG's “--import” flag causes output on the terminal but nothing returned? (Other commands work.) [migrated]

I've distilled down my problem to this minimal example which perfectly shows that there is something wrong: var_dump(shell_exec(escapeshellarg('C:\Program Files (x86)\GnuPG\bin\gpg.exe') . ' --...
0
votes
1answer
19 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
20 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
50 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
21 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
1answer
28 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 ...
0
votes
1answer
74 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 ...
4
votes
1answer
505 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
0answers
24 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 ...
0
votes
0answers
31 views

What is the difference between the keybase.io keyserver gpg key and the one from the fingerprint?

I did: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 222B85B0F90BE2D24CFEB93F47484E50656D16C7 sudo apt-key export 222B85B0F90BE2D24CFEB93F47484E50656D16C7 > ~/keybase_apt_key.gpp wget ...
0
votes
0answers
38 views

Kleopatra - gnupg, cannot verify iso - error: “no such file or directory”

I get this error when i try to verify qubes iso, or import signing key into keyring with gpg: can't open 'filename' No such file or directory gpg: verify signatures failed: No such file or directory ...
0
votes
0answers
92 views

No secret key error

Im using Control-m to facilitate a transfer from a vendor. I use Kleopatra to generate a key pair and then give the public key to the vendor to encrypt and send us files. Every time I test ...
0
votes
1answer
56 views

yubikey/gpg-agent always asking for my PIN when running git commit

recently, git has been asking me for my yubikey pin every 3 or 4 times after i've already typed in my pin. this didn't use to happen before. i'm thinking maybe the card isn't getting read correctly or ...
1
vote
1answer
128 views

Extend the expiration date of a GPG key non-interactively

I need to extend the expiration date of a GPG key, but all the answers or articles I can find do it interactively, for example. I need to embed the logic in a shell script, so wondering how can I do ...
1
vote
1answer
92 views

Is it possible for GNOME keyring / Seahorse to show the plaintext password for a GPG key?

I have a GPG key which has stopped decrypting with a "Bad passphase" error when used from the command line. While I'm fairly confident the passphase is correct, as I've typed it at least once per ...
0
votes
0answers
25 views

GPG pinetry-tty is not working properly

I want to move from pinetry-gtk-2 which work good to pinetry-ttk. I add pinetry-program /usr/bin/pinentry-ttk to my gpg-agent.conf and after agent reboot it works with problems. First is that Git ...
3
votes
1answer
59 views

GPG beginner: how to decide if I trust sks-keyservers.net

I am reading the GPG pre-pre-tutorial at https://riseup.net/de/security/message-security/openpgp/best-practices . Upon clicking on a link to a .pem file at sks-keyservers.net in Firefox, a window ...
-1
votes
0answers
75 views

How do I securely install gpg on OSX?

I would like to be able to verify code that I am installing so I need to install gpg. The gpg website says: Note: you should never use a GnuPG version you just downloaded to check the integrity of ...
0
votes
1answer
90 views

Cannot upload my GPG keys to any key server - “Server indicated a failure”

I have extended the expiry date of my GPG keys, and now I want the network to synchronise them. So I'm trying $ gpg --send-keys 0578BBA15F19661D18F7C3457437FCBA03E4CB85 gpg: sending key ...
0
votes
0answers
40 views

Debuild gpg sign failed no secret key

I've exported my key (through seahorse GUI) to key.pgp and imported on another Pc through the seahorse GUI on Ubuntu. After that I can't use this key for signing my deb package when running debuild -S ...
0
votes
1answer
204 views

How to view gpg default key in windows

I have multiple windows servers in my production. Only one of them is active at a time. The encryption command worked perfectly on one server, but has failing on another with the following message: ...
0
votes
0answers
11 views

GnuPG `addcardkey` command does not ask for RSA key bits

According to the manuals GnuPG addcardkeycommand of gpg --edit-key <KEYID> should ask what key bit length to use, but nothing appears. How can I force a different than default key bit length? ...
0
votes
1answer
86 views

OpenPGP: smart card / device not found on Windows 10

I'm trying to read my new GnuPG V3.3 smart card with OpenPGP on Windows 10, Lenovo keyboard with smart card reader, latest driver installed. When launching from CMD command gpg.exe --card-status ...
1
vote
0answers
19 views

Using gpg on Aquamacs

In the vanilla emacs we have an option to encrypt and decrypt files using the gpg encryption. I have emacs installed on MacOS Mojave and I use gpg to encrypt my password file. Recently on seeing the ...
0
votes
1answer
36 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 ...
0
votes
0answers
15 views

GPG signing & encrypting a file as a two step process

I understand that signing and encryption can be done using a single command. gpg --cipher-algo AES256 --always-trust --encrypt --sign --passphrase Test@123 --recipient Recipient_1 test.txt I also ...
0
votes
0answers
24 views

GPG fatal error not enough space

I have been trying to generate a PGP key of 16k size on windows 10, But keep getting get this error: not enough space. Should I upgrade my laptop's RAM? what should I do to circumvent this error?
0
votes
1answer
46 views

gpg2 running unreasonably slow, only when agent does not have password cached

Recently, my pass password manager has started taking upwards of 45 seconds to bring up the gpg-agent password prompt for my master password, which is super annoying when I'm trying to log into a ...
0
votes
1answer
17 views

1:1 PGP key requirement

We have a single encryption key in place for use by our business partners globally. This contains the main signing key as well as the encryption subkey. We have now run into a situation (with a bank) ...
1
vote
0answers
99 views

Is it possible to use macOS 'Keychain' + 'TouchID' for pinentry-program?

Is there some way of configuring pinentry-mac, which I currently use to enter the passphrase for my OpenPGP card (a Yubikey), or a different program that'll store the passphrase in the macOS 'Keychain'...
0
votes
1answer
107 views

GPG autologin with pam, pinentry

Recently I started using Neomutt with Luke´s mutt-wizward and therefore I have to setup pass and gpg, which were both new to me. I know how public and private key encryption works but after playing/...
2
votes
2answers
391 views

How to fix GnuPG after importing a poisoned key (without just deleting it)

My GnuPG client automatically refreshed the keys in its keyring from a keyserver, and it imported a poisoned key. How can I fix my keyring without merely deleting the poisoned public key? Last month ...
0
votes
0answers
46 views

How to configure GPGME with Python bindings correctly

I am trying to install GPG ME on Debian 9.9 (x86-64) and want to use it with python 3.6. I have some trouble in the python bindings and want to ask for your help. Here were the steps I have done (in ...
0
votes
0answers
57 views

What if I revoked my gpg subkey that was used for ssh authentication?

IMHO, the key is still valid for ssh authentication on a remote server. If so, what's the best practice to revoke a gpg key for ssh authentication?
0
votes
0answers
201 views

I want to make pinentry use GUI locally and CLI on SSH

I need to be able to GPG-sign git commits in two different Linux environments. In a full GUI X-Window setup using the GUI-based password dialog box In an SSH, without X-forwarding, using command-line ...
0
votes
0answers
23 views

How to authenticate on Bitbucket Mercurial repository using an encrypted NETRC.GPG file?

There is a tutorial on the Internet teaching how to configure an encrypted netrc file in order to access github 2FA access. Is there an equivalent way to do the same thing with Bitbucket Mercurial ...
0
votes
0answers
36 views

gpg-agent with authentication key not detected by ssh-add

OS: Ubuntu 19.04 GPG2: gpg (GnuPG) 2.2.12 with libgcrypt 1.8.4 When trying to use my GPG key for ssh authentication, I have tried multiple online tutorials as well as my own tinkering. I generated ...
0
votes
0answers
67 views

Git and GPG subkeys

I'd like to ask for clarification on how to use GPG subkeys properly. Here is my setup. I have a master computer with generated master GPG key. Then I have 2 work laptops. My idea was to generate ...
1
vote
0answers
78 views

importing public key with GNU Privacy Assistant (win 10)

I am trying to import my public key that I generated with Kleopatra and GNU Privacy Assistant. First I generated my public and private keys. I then export my public key and save it to my desktop (...
-1
votes
1answer
117 views

Using ssh key on Yubikey on Sourcetree program

I can not make sourcetree work with the ssh key that i have in my yubikey. Does anybody know how can i fix it? Thank you. P.D: I have tried different recommendations that i found on the internet, ...
0
votes
1answer
42 views

How can I verify a gpg secret key which I have exported for the purpose of backup?

I have exported my key with gpg --export-secret-key "user name" > path/to/secretkeybackupfile.key and then done gpg path/to/secretkeybackupfile.key It displays the details of the key as being a ...
0
votes
0answers
38 views

How to perform git stash without gpg-sign it

I have the gpgsign config activated and every time I need to stash something it asks for my password to sign it. The issue is that I really don't need the stashed things be signed at all. I am looking ...
0
votes
0answers
29 views

GnuPG - Share secret key across users on server

We are calling C:\Program Files (x86)\GnuPG\bin\gpg.exe in an execute step from a third-party client-side tool. Currently, as an intitial step, each user logs into the server and loads the key via a ...
0
votes
0answers
15 views

Ubuntu failed to push docker hub in using docker-credential-pass

When I use docker-credential-helpers in conjunction with the GPG configuration pass method to log in to the docker hub success, but when I try to push to the docker hub, the failed: denied: ...
0
votes
0answers
532 views

Why is it that pgp keyservers do not respond when I request keys?

I tried the Linux command line (bash 4.4.23 on Arch Linux kernel 4.18.16) with various key servers: $ gpg -v --keyserver subkeys.pgp.net --recv-keys F434104235DA97EB gpg: using character set 'utf-8' ...
0
votes
0answers
33 views

gpg shell variable for asking the passphrase equal to git's GIT_ASKPASS

Currently i'm working on a application where we run git commands as sub process. But the sub process breaks/hangs when it asks for something, to deal with that we use GIT_ASKPASS for the git password, ...