Questions tagged [gnupg]

22 questions
17
votes
1 answer

How to change passphrase for pass (password manager)

I changed the password for my gpg key. However, beforehand I've built an password store via pass with the same gpg key. Now, whenever I query passwords, I still get asked for my old gpg password. Other applications require the new passphrase. How…
Torsten
  • 295
  • 1
  • 2
  • 8
17
votes
1 answer

Why do GnuPG 2 and gpg-connect-agent fail with "ERR 67108983 No SmartCard daemon"?

Using Debian Jessie and GnuPG 2, each time I try to use GnuPG 2 (gpg2) or gpg-connect-agent together with an OpenPGP smartcard (in my case a YubiKey), the operation fails with a message $ gpg-connect-agent --hex "scd apdu 00 f1 00 00" /bye ERR…
Jens Erat
  • 2,233
  • 2
  • 21
  • 33
11
votes
0 answers

Smartcard "sharing violation" when using OpenSC and GnuPG

On my Linux machine (Arch Linux, up to date as of this post) I am having trouble using both the OpenSC PKCS11 module and GnuPG. It seems like while an app using the PKCS11 module is started (in my case it's Firefox) it takes exclusive control of the…
André Borie
  • 535
  • 2
  • 15
8
votes
2 answers

gnupg: Getting errors trying to gpg --gen-key

I have tried deleting my .gnupg directory but the error returns. I get this: gpg: lookup_hashtable failed: eof gpg: lookup_hashtable failed: eof gpg: upd_hashtable: read failed: eof gpg: trust record 2, type 12: write failed: eof gpg: Error: The…
bitofagoob
  • 1,335
  • 2
  • 15
  • 24
8
votes
5 answers

rpmsign with CLI password prompt

I working on a Fedora 25 (F25) workstation, the KDE spin. I'm writing some scripts to perform automated testing. One of the automated tests involves invoking the RPMSIGN(8) program which in turn invokes GPG(1) to attach a digital signature to some…
Jim Fischer
  • 628
  • 1
  • 5
  • 16
8
votes
1 answer

How to make PGP's output less verbose in mutt with GnuPG & TOFU?

I recently added trust-model tofu+pgp in my .gnupg/gpg.conf to use TOFU and automatically trust (marginally) keys from e-mails I see for the first time. It has the bad consequence of making PGP's output horribly verbose: gpg: Verified 1 message…
Ted
  • 313
  • 1
  • 2
  • 10
6
votes
6 answers

gnupg on Arch Linux broken since readline upgrade - can't find libreadline.so.6

I've just upgraded readline to a new major release: $ grep readline.*7 /var/log/pacman.log [2016-11-15 21:53] [ALPM] upgraded readline (6.3.008-4 -> 7.0-1) Since this GNUPG is broken: $ gpg gpg: error while loading shared libraries:…
l0b0
  • 50,672
  • 41
  • 197
  • 360
5
votes
1 answer

gnupg: set subkey expiration date in the past

I would like to set the expiration date of a GPG subkey in the past, but gpg --edit-key does not allow me to. Is there any workaround to that? Rationale: it is useful to set the expiration date of a subkey in the past in order to temporarily disable…
4
votes
2 answers

How to shutdown and restart dirmngr?

dirmngr is used by python-apt and is recommended by gnupg and gpgsm. I tried to shutdown dirmngr as shared in the manpage but got this - └─[$] dirmngr -vv --shutdown dirmngr[9494]: error opening '/home/shirish/.gnupg/dirmngr_ldapservers.conf': No…
shirish
  • 11,967
  • 27
  • 107
  • 190
3
votes
1 answer

Installing GnuPG on Solaris ---- failed

i have Solaris SunOS 5.10 Generic_147441-01 i86pc i386 i86pc Solaris trying to install GnuPG on it i have referred these sites for it http://gnupg.org/ http://www.blastwave.org/pkg/search.ftd?qs=gnupg --- package build for…
maxjackie
  • 131
  • 3
3
votes
0 answers

How to run keychain from gdm ?

I have keychain manage both ssh-agent and gpg-agent. It's working from a shell, with a line like: eval `keychain --eval --agents ssh,gpg id_rsa my_gpg_key` in ~/.bash_profile. I'd like to have keychain run from the gdm login. Both ssh-agent and…
wilk
  • 169
  • 6
3
votes
2 answers

List all keys signed by a given key

Using the GNU Privacy Guard (GnuPG): for some given key, say 0xDEADBEEF, how can a user readily list only the public keys in their keyring that have a UID that has been signed by that key? It would be helpful if you could specify whether your answer…
user6860
3
votes
1 answer

Custom cache duration for specific keys?

I want to configure gpg-agent to cache a specific key for a set duration longer than other keys in my keyring. Is there a way to configure gpg-agent to set key caching duration for specific keys?
Naftuli Kay
  • 38,686
  • 85
  • 220
  • 311
2
votes
1 answer

Questions regarding generating RSA keys with GnuPG

I'm currently doing a high school project by studying RSA keys for better understanding them theoretically and practically. A part of the project consist of an experiment, and I choose to test and see how big the workload will be for the CPU when…
user178985
2
votes
0 answers

GnuPG 2.1.20 ssh agent forwarding with yubikey on OSX fails

Tried out ProxyJump as suggested by @JensErat. I configured it like this in ssh config: Host jump-to-server HostName server.hostname ProxyJump [email protected] User ubuntu But it does not work, it just hangs during connection. Do I need gnupg…
1
2