gpg

add repo to debian (gpg issue)

add repo to debian (gpg issue) First, I have done literally hours of work and research on this… attempting to find a solution my self. But I am unable to either understand what I am missing or get all the info I need (not sure which). Second, this is the first time I have ever …

Total answers: 2

how to change/add gpg key to pass

how to change/add gpg key to pass I need to change the gpg key originally used for pass on my system to a newly generated key. However, when I follow the advice I found on this thread: https://unix.stackexchange.com/questions/226944/pass-and-gpg-no-public-key, things don’t seem to work out as they should. The command used and its output while trying …

Total answers: 1

GPG: find secret-keyfile that matches my public-key

GPG: find secret-keyfile that matches my public-key When I create a keypair with gpg, then it stores the secret key inside of ~/.gnupg/private-keys-v1.d It stores the public-key inside of a keyring-file – I can name it or it uses the default-location. If I have a look (–list-public-keys and –list-secret-keys) at my public and secret-keys I …

Total answers: 1

Is it possible to grep this output from gpg

Is it possible to grep this output from gpg Take the following command (real example) : ~$ gpg –edit-key foo@bar.net showpref quit (…) [ultimate] (1). Foo Bar <foo@bar.net> Cipher: AES256, AES192, AES, CAST5, 3DES AEAD: Digest: SHA256, SHA1, SHA384, SHA512, SHA224 Compression: ZLIB, BZIP2, ZIP, Uncompressed Features: MDC, AEAD, Keyserver no-modify Preferred keyserver: ldap://keyserver.pgp.com ~$ …

Total answers: 1

gpg-agent "forgetting" password for key, when getting too many requests

gpg-agent "forgetting" password for key, when getting too many requests I’m running Ubuntu (via Regolith) and my gpg key is unlocked when I log in. I’m running multiple decrypt operations in parallel and I noticed, that if I get above 7, gpg-agent will "forget" that the key is already unlocked and I get prompted for …

Total answers: 1

Recover poorly backed up gpg secret keys

Recover poorly backed up gpg secret keys I have just restored my data from a borg backup repository after a computer failure. My ~/.gnupg folder seems fine, private keys are there, and permissions look correct. Usually borg does a good job at this. When I cat the private keys files, there is no sign of …

Total answers: 1

Totally Legit Signing Key <mallory@example.org>

Totally Legit Signing Key <mallory@example.org> I run: gpg –list-keys I get: pub rsa1024 2014-01-26 [C] <REMOVED> uid [ unknown] Totally Legit Signing Key <mallory@example.org> Can this be dangerous? What is this? The address mallory@example.org is confusing. Asked By: Ohumeronen || Source The mallory keys were keys added to demonstrate that short key identifiers are easily …

Total answers: 1

gpg expiration TIME?

gpg expiration TIME? I have a licence that I’m signing with: gpg –default-sig-expire "2024-02-14" –sign licence This results in: $ gpg –verify licence.gpg gpg: Signature made Tue 13 Feb 2024 08:18:39 AM CET gpg: using RSA key 1234567890ABCDEF1234567890ABCDEF gpg: issuer "stew@unix.stackexchange.com" gpg: Good signature from "Stewart <stew@unix.stackexchange.com>" [ultimate] gpg: Signature expires Wed 14 Feb 2024 …

Total answers: 1

How to increase GnuGPG passphrase dialog box timeout?

How to increase GnuGPG passphrase dialog box timeout? The GnuGPG passphrase prompt dialog box timesout after 60 seconds. How do I increase the timeout period ? (Just to clarify that I am not looking for default-cache-ttl but the timeout of the passphrase dialog box itself. I am using GnuPG v2.2.23 on Fedora 33). Asked By: …

Total answers: 1

Convert encrypted and signed to just signed PGP message

Convert encrypted and signed to just signed PGP message Suppose Bob got a message from Alice encrypted with his public key and signed with her private key. Now he wants to prove to Charlie that he got a message from her with this exact content. The message was created via gpg –sign –encrypt. My idea …

Total answers: 1

What is [AR] for gpg / gnupg authentication keys?

What is [AR] for gpg / gnupg authentication keys? I used Dr Duh’s yubikey setup about 20 days ago with no issue. I ran through it again last night on an M1 Mac with Brew and when we created the expiring authentication key, the keylist shows [AR] for the key where it would normally show …

Total answers: 1

gpg cannot resove/connect to keyserver

gpg cannot resove/connect to keyserver Environment OS is Artix Linux 6.0.11 GPG is 2.2.40 libcrypt is 1.10.2 keyserver is any (ubuntu , sks, mit, etc.) Problem I wanted to update my system via pacman -Syu and needed to import a key by Torsten Kessler, David Runge and others, whose keys "could not be looked up …

Total answers: 1

debian howto disable gpg-agent-browser.socket

debian howto disable gpg-agent-browser.socket On server there is no browser nore gui, so is it possible to disable the gpg-agent-browser.socket ? On debian 10.13 I can see those files: /usr/lib/systemd/user/gpg-agent.socket /usr/lib/systemd/user/gpg-agent.service /usr/lib/systemd/user/gpg-agent-ssh.socket /usr/lib/systemd/user/sockets.target.wants/gpg-agent.socket /usr/lib/systemd/user/sockets.target.wants/gpg-agent-ssh.socket /usr/lib/systemd/user/sockets.target.wants/gpg-agent-extra.socket /usr/lib/systemd/user/sockets.target.wants/gpg-agent-browser.socket /usr/lib/systemd/user/gpg-agent-extra.socket /usr/lib/systemd/user/gpg-agent-browser.socket I could not find the answer on Internet, do you have an idea on howto disable the …

Total answers: 1

Can't upgrade Jenkins on Debian11, the public key is not available: NO_PUBKEY FCEF32E745F2C3D5

Can't upgrade Jenkins on Debian11, the public key is not available: NO_PUBKEY FCEF32E745F2C3D5 I try to upgrade jenkins. I use the new way to use gpg keys: wget https://pkg.jenkins.io/debian-stable/jenkins.io.key gpg –dearmor jenkins.io.key mv jenkins.io.key.gpg /usr/share/keyrings/jenkins-keyring.asc cat /etc/apt/sources.list.d/jenkins.list deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc] https://pkg.jenkins.io/debian-stable binary/ apt-key: apt-key list | grep -i jenkins # nothing # file /usr/share/keyrings/jenkins-keyring.asc /usr/share/keyrings/jenkins-keyring.asc: PGP/GPG …

Total answers: 2

Solving gpg: decryption failed: No secret key

Solving gpg: decryption failed: No secret key I have encrypted a file through gpg ***.gpg –encrypt –recipient …@mail.com *** The hard disk with my Linux system where such file was encrypted has dead. I keep just the ***.gpg file in an external hard drive. When I try in my new Linux system gpg –output *** …

Total answers: 1

repo.skype.com/deb/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION

repo.skype.com/deb/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION The following warning message appears during my apt-get update && apt-get upgrade procedure on Linux Mint 21: W: https://repo.skype.com/deb/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details. I searched through the Microsoft Skype download section …

Total answers: 1

Suddenly a server refuses to 'apt update' because an 'Unknown error executing apt-key'

Suddenly a server refuses to 'apt update' because an 'Unknown error executing apt-key' The problem UPDATE: Currently investigating with strace. It seems problem is a HTTP 400 error when accessing the repository UPDATE2: More weird errors in the server (a .so lib file corrupted, database engine displaying ‘Unknown error’) so it seems this problem is …

Total answers: 2

Use Inotifywait to handle multiple files at the same time

Use Inotifywait to handle multiple files at the same time I’m scripting a special program to my company. By using Inotifywait from inotify-tools, I’m watching a specific folder for new items, and as soon a new file appears, it will be encrypted with gpg and moved to another folder for further treatment. For a single …

Total answers: 1