Questions tagged [pgp]

PGP (Pretty Good Privacy) is a computer program for encryption and decryption of data that provides cryptographic privacy and authentication for data communication.

Filter by
Sorted by
Tagged with
0
votes
1answer
13 views

Finding the right PGP key for decryption

I have around 50 secret Keys on my Old Server and I have been running script to decrypt the file c:\gnupg\gpg.exe --passphrase-fd 0 --decrypt --quiet --batch --output "xx.txt" "xx.txt....
5
votes
1answer
181 views

How to get a PGP RSA key pair with a “rare” fingerprint, e.g. one that begins “ABBA”? (Windows 10)

On Windows 10, how can I automate the generation of PGP RSA key pairs, dumping each one if the 40 hex-character fingerprint doesn't begin ABBA (for example), stopping when a generated pair meets that ...
0
votes
0answers
25 views

How to create PGP-signed textfiles using Kleopatra GUI for Gpg4win that include the message en clair before the signature?

I am using Gpg4win with the Kleopatra GUI on Windows 10 Pro. When I use my private key to sign a textfile the program produces a signed textfile that authenticates properly using my public key. But ...
1
vote
1answer
89 views

How to cryptographically verify the authenticity and integrity of Microsoft Windows .iso releases (with gpg?)

For a given Windows release published by Microsoft, how can I cryptographically verify the authenticity and integrity of the .iso file that I downloaded before I copy it onto a USB drive and attempt ...
2
votes
1answer
425 views

Why does gpg's secret and public key have the same keyid?

On my Windows machine running Cygwin, When I run gpg --list-keys --keyid-format LONG gpg --list-secret-keys --keyid-format LONG Both the pub and sec keys have the same value. sub and ssb have the ...
2
votes
1answer
69 views

How can I connect a PGP certificate to an email address in Thunderbird?

Is it possible to assign a public key from your key manager to a particular email address so that Thunderbird 78.6.0 automatically uses that key to encrypt when that email address is in the "To&...
0
votes
0answers
12 views

How to quickly find all encrypted messages in a large hierarchical folder structure?

Today I have accidentally upgraded from TB 68 to TB 78 - I intended to install the latest update to 68, but TB instead installed 78. I don't know whose fault this was - probably mine. Anyways, I have ...
1
vote
0answers
58 views

GPG subkey seems to have different password

I have recently created a new OpenGPG key with Thunderbird and exported it to use it with gpg. However, I cannot decrypt anything outside Thunderbird because my subkey - which is used for encryption - ...
0
votes
0answers
11 views

Why is the Key ID from an encrypted file different from the ID of the key used to encrypt it?

I have created a new key with gpg. For example let's say I get the following key pairs as a result: ~$ gpg --keyid-format long --list-keys /home/me/.gnupg/pubring.kbx --------------------------- pub ...
1
vote
0answers
60 views

Cold storage on paper: ASCII of an AES-256 crypted text (gpg)?

I want to encrypt a passphrase offline using an air-gapped computer and print it for cold storaging. I'm using this command to encrypt: gpg --s2k-mode 3 --s2k-count 65011712 --s2k-digest-algo SHA512 --...
0
votes
0answers
33 views

What are the use cases for a certification PGP subkey?

What are the use cases for a certification only PGP subkey? I am not sure if GnuPG supports it but I know Sequoia does.
0
votes
1answer
131 views

Libre Office Sign a PDF with PGP key

I'm currently facing an issue with the "Sign" feature of Libre Office. I can digital sign my ODT files without a problem. That means I can select my pgp key in the list of keys and sign the ...
0
votes
0answers
32 views

How do I export my private PGP Key from the new Thunderbird Version?

How do I export my private PGP Key from the new Thunderbird Version? I created it when 72.2.1 was released and I want to backup it, but I have now idea how to export it. I am using MacOS. Thank you!
0
votes
1answer
132 views

How can I tell what version of PGP a public key uses?

Let's say I have various keys, some adhering to PGP 5, others to PGP 2, and maybe some were made with the original PGP. How should I go about discerning this?
0
votes
0answers
211 views

How to verify PGP signature with signing key using Enigmail in Thunderbird

I received an email like this above: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Because anyone can claim to be me. There's no validation of the user name or email address when someone posts a ...
1
vote
1answer
84 views

Do I need a key pair to encrypt with gpg if there is no recipient?

I want to encrypt a file and be able to decrypt/encrypt it again only for me to use that file. If I use a key pair to encrypt the file, then I need to move the key files around to new devices if I ...
0
votes
0answers
20 views

Is it possible to have more than one GnuPG keyring to organize contacts?

Strangely I can’t find anything on the subject on DuckDuckGo... someone knows if this is possible and how?
0
votes
0answers
64 views

How to encrypt gist with someone else's public key?

I'm looking to encrypt a gist file for an issue, and the provider has their public key accessible for issuers to use. I am trying to find a way to encrypt the file with the provider's public PGP key ...
0
votes
0answers
21 views

PGP keyserver for closed work group

I am looking for a PGP key server for our university work group. It is a closed work group so I do not need a public key server. Also I want to avoid to install and administrate our own server. I ...
0
votes
0answers
39 views

pgp key generation failure saying can't open key rings

I'm using pgp 6.5.8 for file encryption and trying to create the keys using the command pgp -kg and it gives me the error message as "can't open key rings. keygen failed. Insufficient random ...
1
vote
1answer
273 views

Encrypt to PGP from OpenSSL

I have a tool that takes an RSA public key (e.g. OpenSSL PEM format key), encrypts a message to that public key, then returns the encrypted message. I'm going to be sent a PGP public key and need to ...
0
votes
1answer
1k 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 $ ...
1
vote
1answer
103 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
1answer
60 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
2k 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 ...
1
vote
1answer
358 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
2answers
252 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
4k views

Store pgp keys in azure key vault

I want to transfer encrypted file from SFTP server (Ubuntu) to azure storage using azure data factory pipeline. Customer is using PGP to encrypt file at rest and push them to sftp server. so the file ...
1
vote
1answer
149 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
20 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) ...
3
votes
0answers
411 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
65 views

Downloading pgp encrypted files from an FTP server

I need to receive client data from a supplier via FTP. The way this process is supposed to work is that I connect to the supplier's network via VPN, then connect to the FTP server and download the PGP-...
4
votes
1answer
2k 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
1answer
707 views

Decrypt PGP message with private keys but forgotten passphrase

I forgot the passphrase of my PGP, but I have the private keys. Is there any "easy" method which doesn't take years to decrypt the PGP message?
0
votes
0answers
221 views

Revoke user ID from revoked gpg key?

Being a total gpg noob, I fooled around generating keys on my ubuntu pc and copying those keys to the OpenKeychain phone app. I managed to successfully revoke a key from the app, so now that key sits ...
2
votes
2answers
350 views

Why does Keybase not include my public PGP key fingerprint in my GitHub proof?

I have set up a Keybase identity and added my PGP public key. When validating my GitHub identity the text Keybase provides me includes the line I have a public key ...
2
votes
1answer
1k views

Which of my GPG public keys should I be publishing? Primary, subkeys, all?

Original question I have been learning about GPG and the use of subkeys. I feel I have developed a good understanding of the benefits of using subkeys and keeping your primary key offline, but there ...
0
votes
0answers
49 views

Is there a maximum number of subkeys in GnuPG?

The GnuPG documentation describes a process to generate subkeys for a gpg-master-key with the option to have different validity settings for subkeys. This works perfectly for a small amount of subkeys,...
2
votes
1answer
1k views

Sign only using GpgOL in Outlook

I currently have the Outlook plugging GpgOL which lets me encrypt/sign emails using an OpenPGP encryption key. Is it possible to somehow remove the encryption option or somehow hide the encryption ...
2
votes
1answer
1k views

GnuPG package: Difference between pgp and gpg

I feel there's a not much of general user friendly content on the internet about GnPG and it's utilities. At least I couldn't find any to my satisfaction. It's probably because people (except ...
0
votes
1answer
71 views

shell: pgp: not found

I installed pgp on one of my AIX machines (AIX 7.2). When I try to run pgp from my id I get the below error: $ pgp shell: pgp: not found. But this works as expected using root account. Can ...
2
votes
1answer
3k views

Backing up PGP key pairs

I am new to PGP and have created a keypair using Kleopatra. The public key is now published on certain sites so ppl can message me securely. The private key is held in Kleopatra software and when I ...
3
votes
1answer
1k views

Unable to delete private subkeys in GnuPG if no master key present

I have a GnuPG key pair with a master key (only Certify capability) and 3 subkeys (Sign, Encrypt and Authenticate capabilities respectively). Actually, when I start, I only have the private keys of ...
1
vote
1answer
6k views

Trying to verify a download signature with PGP, but getting “no signed data” when passing in the .asc file?

I tried the following steps from Verifying Signatures on the Tor Project: gpg.exe --keyserver pool.sks-keyservers.net --recv-keys 0x4E2C6E8793298290 imported: 1 gpg.exe --fingerprint ...
2
votes
1answer
517 views

Filezilla on Mac: yubikey authentication?

I am trying to connect to a remote server over ssh using a YubiKey smartcard device. The device contains a GPG authentication key to be used. This works flawlessly on commandline, but I cannot get ...
0
votes
3answers
53 views

I forgot what I used to encrypt a file, what can I do?

I have a file I'm needing to decrypt, but my operating system was reinstalled and I don't remember which software I should use to decrypt it. Fortunately, the data is still preserved, including what I ...
0
votes
0answers
2k views

Convert GPG private key to QR code?

How can I generate a QR code from a OpenPGP/GnuPG private key on Windows 7? Context: I created a private key pair on a Windows computer and want to import the key to my phone. The phone app has ...
1
vote
1answer
1k views

How to convert gpg4win's binary to ascii, with Notepad++

I can reliably convert gpg4win's ascii to binary using Notepad++ option "Base64 Decode" (credit: James K Polk). Works every time. But when I attempt the reverse, i.e. convert binary to ascii, it ...
0
votes
1answer
684 views

How to convert gpg4win's ascii to binary?

gpg4win can save and read encrypted files in two forms: Binary with .gpg extension Base64/ascii with .asc extension Is there a way to convert the Base64/ascii output to binary? I tried with Notepad+...
19
votes
3answers
12k views

I got “BEGIN PGP PUBLIC KEY BLOCK” attached to an email and I don't know what it is [duplicate]

Okay, I have no clue what this is, but I just received an email that has this in it. -----BEGIN PGP PUBLIC KEY BLOCK----- [redacted] -----END PGP PUBLIC KEY BLOCK----- If this means something, ...

1
2 3 4 5 6