Questions tagged [openpgp]

OpenPGP is a standard for encrypting and decrypting data (RFC 4880) . PGP stands for Pretty Good Privacy (not to be confused with gpg: Gnu Privacy Guard)

Filter by
Sorted by
Tagged with
0 votes
0 answers
141 views

Export GPG Private Key WITHOUT knowning the passphrase

so I spent many hours on this now and I hope someone can give me any useful input. I want to export an encrypted secret key from GPG (which lies in ~/.gnupg/private-keys-v1.d) but I do not have the ...
user avatar
-1 votes
1 answer
319 views

Error installing provider "aws": openpgp: signature made by unknown entity

My provider code in init.tf is as below : provider "aws" { shared_credentials_file = "~/.aws/credentials" region = "us-east-1" } Terraform version I ...
user avatar
1 vote
1 answer
2k views

How to know with which key a repository is signed by (and vice versa)?

I want to use the signed-by option on all the repositories of my /etc/apt/sources.list.d/debian.sources, point to the keys in /usr/share/keyrings instead of /etc/apt/trusted.gpg.d before disabling ...
user avatar
-2 votes
2 answers
5k views

gpg: no valid OpenPGP data found. in kali linux add-apt-repository

When I try to add any repository I have this error: root@Hacknonimous:~# sudo add-apt-repository ppa:agornostal/ulauncher Application launcher for Linux More info: https://launchpad.net/~...
user avatar
2 votes
1 answer
176 views

PGP key export is very long - how to shorten?

I recently needed to publish my PGP key. However the export is veeery long: $ gpg2 --list-secret-keys --keyid-format LONG /home/user/.gnupg/pubring.kbx ----------------------------- sec rsa4096/...
user avatar
1 vote
1 answer
1k views

Correct way to verify PGP signature in BASH script (pinning exact long fingerprint)

I have: A file A detached PGP signature of that file in ASCII armor format and A 40-character (long-format) fingerprint identifying the one key that must have a valid signature What is the correct ...
user avatar
2 votes
4 answers
9k views

GPG error when I want to apt update

I just installed Kali NetHunter and I'm trying to do a simple apt update but it looks like a public key is missing root@kali:~# apt-get update  0% [Waiting for headers] [Connected to packages....
user avatar
  • 131
4 votes
2 answers
2k views

How to correctly change the passphrase of GPG's secret key?

I'm trying to change the passphrase of my GPG's secret key. I actually changed it using seahorse (Also tried gpg --edit-keys and passwd, but when I tried to export my private key it asks me for two ...
user avatar
  • 153
1 vote
0 answers
382 views

Mutt asks "Enter keyID", does not accept any IDs

I am trying to use Mutt with GPG to encrypt emails. Whenever I try to encrypt, I am asked to "Enter keyID for user@domain". No matter what I enter, it asks me to enter the value. I definitely have ...
user avatar
0 votes
2 answers
490 views

Is it possible to reuse a GnuPG key in another installation?

I have a GPG key which I use to sign and submit packages to Launchpad. Is it possible to reuse that key in another installation, or do I always have to create a new key for the new installation of a ...
user avatar
171 votes
4 answers
215k views

How to export a GPG private key and public key to a file

I have generated keys using GPG, by executing the following command gpg --gen-key Now I need to export the key pair to a file; i.e., private and public keys to private.pgp and public.pgp, ...
user avatar
  • 1,813
2 votes
1 answer
253 views

Is there a standard XDG location for user secrets?

XDG defines ~/.config, ~/.cache and other shell-agnostic locations for user configuration files. Some applications define their own locations for user secrets, like ~/.ssh and ~/.gpg. Is there an XDG-...
user avatar
  • 2,555
2 votes
1 answer
140 views

GPG seems to alter imported keys

So I've never used gpg (2.0.14) before this week and I'm no cryptography pro, but the results I've been getting with gpg seem odd. When I import keys (e.g. gpg --import public.key) that were ...
user avatar
  • 21
29 votes
2 answers
13k views

GPG Hangs When Private Keys are Accessed

I like to sign my git commits with my PGP key, so I was quite alarmed when I went to git commit -S but instead of prompting for my PGP key passphrase, git just started hanging. I haven't made a change ...
user avatar
1 vote
1 answer
2k views

How to use NFC-Only smartcard with GnuPG?

I'm trying to use an Android smartcard emulator (to see if a smartcard can fit into my workflow) with GnuPG on Debian Sid. I have libNFC configured with a pn532 breakout that can see the applet on ...
user avatar
-1 votes
1 answer
2k views

Encryption & decryption with PGP

I want to be able to encrypt and decrypt a simple file. I followed this tutorial to generating an OpenPGP Key, it gets stuck at this step You will be asked to tap on the keyboard (or do any of the ...
user avatar
  • 3
2 votes
0 answers
171 views

How will libpam-poldi work with ecryptfs

I'd like to authenticate myself to my machine using my PGP SmartCard. I'm under the impression that I can do this using libpam-poldi. However, I also have directories that are encrypted using ecryptfs ...
user avatar
  • 81
16 votes
1 answer
13k views

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-...
user avatar
  • 2,113