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
-1 votes
1 answer
13 views

Can the public key be extracted from the message encrypted with it?

If I encrypt messages with Public Key, and give the recepient Private Key to decrypt it, can the recepient somehow extract the Public Key from the messages? I.e. is it OK to keep "Public Key"...
user avatar
  • 127
1 vote
2 answers
57 views

How to import OpenPGP Card / YubiKey backup encryption key

When I generate a new OpenPGP key on a YubiKey, it gives me the option to save a copy of the encryption key as a backup like so: $ gpg --edit-card Reader ...........: Yubico Yubikey NEO U2F CCID 00 ...
user avatar
2 votes
1 answer
210 views

Given a public key in hexadecimal, how can I get an .asc file?

Given a public key in hexadecimal or base 64, how can I generate an .asc file for use with PGP programs? For example, let's say I have someone's RSA public key, in hexadecimal: 04 40 ad 77 10 45 08 f2 ...
user avatar
  • 2,305
0 votes
2 answers
37 views

How to use pgp to send email?

So I was reading a post where it seems the author provides its email through a pgp. How am I supposed to use that pgp to send him an email? https://decovar.dev/about/#contacts
user avatar
  • 514
0 votes
0 answers
39 views

Could Not Login SFTP using PGP Private Keys

I'm new to linux SFTP commands. I would like to know how to login SFTP if the server host gave me pair of PGP Public and Private key and want us to connect to them. using PGP keys -----BEGIN PGP ...
user avatar
2 votes
0 answers
49 views

Mutt PGP Error: "Could not decrypt PGP message" & "Could not copy message" on Ubuntu machine but works on macOS machine

Configuration files are identical on both machines since they are shared from a cloud drive. Messages sent as a test to myself from the Ubuntu machine 'can' be decrypted and read on the macOS machine ...
user avatar
1 vote
2 answers
53 views

How do i combine both "PGP signature" and "S/MIME signature" in one email?

Two is always better than one! Is that possible? If yes, any idea what application and configuration should i use?
user avatar
1 vote
1 answer
305 views

Can't Verify "PGP SIGNED MESSAGE" in Linux

gpg ver. 2.1.18; Debian Stretch Public key duly imported from https://cygwin.com/key/pubring.asc I downloaded a pair of cygwin installation files from https://cygwin.com/install.html and they passed ...
user avatar
  • 131
0 votes
0 answers
39 views

Public pgp key can not delete a keyring (GnuPG)

I received a key without a UID and it now appears I cannot delete from the key ring. gpg --list-keys |tail -5 pub ABC12/1234ABCD 2021-12-03 uid sub ABC12/ABCD1234 2021-12-03 I get an error when I ...
user avatar
  • 111
1 vote
0 answers
141 views

Is it possible to send a PGP encrypted e-mail without sender's PGP key in Thunderbird?

I have a public PGP key of a recipient and I want to send an encrypted e-mail to them with Thunderbird. I don't have a PGP key pair myself. Is it possible to encrypt and send this e-mail with ...
user avatar
  • 123
0 votes
1 answer
201 views

For Cybersecurity Newbies: How do I download the .asc file to verify a detached signature with Kleopatra

I am new in the world of cybersecurity, and I am attempting to install Nmap and Zenmap. Before I open the executable file to install Nmap, I want to verify the detached PGP signature through Kleopatra....
user avatar
1 vote
0 answers
53 views

Decrypt >4GB files on Windows

I am trying to decrypt a bunch of large encrypted files (some are > 4GB) on Windows 10 (64 bit). I have been given the instructions to double click on each file then a "PGP Self Decrypting ...
user avatar
  • 123
0 votes
0 answers
19 views

Thunderbird - invalid user signature when I send a message to my other e-mail account

What I've done: Created 2 new key pairs for my 2 email addresses using Kleopatra. Exported the private keys. Created revocation keys. Published the keys to the key server. Imported the keys into ...
user avatar
  • 555
16 votes
2 answers
3k views

Should I create separate GPG key pairs or just one GPG key pair for multiple uses (e.g. email, sign commits)?

Would it be better to create a GPG key pair for each use case or is it considered best practice to create just on GPG key pair for multiple use cases? Here are my reasons for using GPG keys: to sign ...
user avatar
  • 263
0 votes
1 answer
146 views

How to encrypt the PGP symmetric key (passphrase) with following options?

I'm working on PGP symmetric key (passphrase), below options should be used to encrypt the file, Symmetric-Key Algorithm should be 9 (AES-256) compression Algorithm should be 0 (Uncompressed) Hash ...
user avatar
0 votes
0 answers
46 views

Linux data forensics: restore pgp-encrypted file deleted with shred command

Once I deleted several files by using "shred" linux command. Those files where pgp-encrypted, I have both public and private keys and I think I still remember the passphrase I used to ...
user avatar
0 votes
1 answer
65 views

Where does Windows store the secring?

I can't find where GnuPG located my secring (actually, I can't find any gpg files, onlykbx files), as all I have in %AppData%\gnupg is:
user avatar
  • 1
0 votes
0 answers
113 views

Why can't I publish my PGP key? Getting "General error"

I'm doing this: $ gpg --verbose --send-key 82A1A9D03A09B8334650940FB8283801026E65F3 gpg: Note: RFC4880bis features are enabled. gpg: sending key B8283801026E65F3 to hkps://keys.openpgp.org gpg: ...
user avatar
  • 1,589
0 votes
0 answers
211 views

Generate GPG key without saving to keychain

I am trying to generate a GPG key with gnupg. However, instead of exporting the secret key to a file, I am trying to pipe it to another program (keybase pgp import) that will process it. Right now, I ...
user avatar
  • 121
1 vote
0 answers
119 views

Best strategy after losing GPG/PGP key passphrase (but still access to YubiKey)

When I got my first YubiKey several years ago, I created a new GPG key specifically for it. After uploading the private key to the YubiKey (keytocard), I also stored an armored copy of the private key ...
user avatar
  • 1,052
1 vote
0 answers
39 views

Which PGP key does thunderbird 78 choose for encryption?

In our project, we use thunderbird 78 and PGP for encrypted mailing. On my computer, there are two PGP keys valid for the same email-address, both not expired and marked as trusted absolutely. One was ...
user avatar
  • 161
0 votes
1 answer
45 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....
user avatar
5 votes
1 answer
294 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 ...
user avatar
  • 51
0 votes
0 answers
200 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 ...
user avatar
  • 203
1 vote
1 answer
327 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 ...
user avatar
2 votes
1 answer
1k 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 ...
user avatar
  • 47
4 votes
1 answer
244 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&...
user avatar
2 votes
1 answer
203 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 - ...
user avatar
  • 23
0 votes
0 answers
76 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.
user avatar
  • 301
0 votes
1 answer
392 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 ...
user avatar
  • 11
1 vote
1 answer
366 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?
user avatar
  • 111
1 vote
1 answer
150 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 ...
user avatar
  • 23
0 votes
0 answers
39 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 ...
user avatar
2 votes
1 answer
742 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 ...
user avatar
  • 225
1 vote
1 answer
3k 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 $ ...
user avatar
  • 360
1 vote
1 answer
222 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 ...
user avatar
0 votes
1 answer
123 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 [...
user avatar
  • 295
0 votes
1 answer
4k 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 ...
user avatar
1 vote
1 answer
514 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 ...
user avatar
  • 11
0 votes
2 answers
367 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 ...
user avatar
0 votes
1 answer
6k 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 ...
user avatar
1 vote
1 answer
238 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 ...
user avatar
  • 11
0 votes
1 answer
24 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) ...
user avatar
  • 1
3 votes
1 answer
886 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'...
user avatar
  • 551
0 votes
1 answer
179 views

"Critical file transfer error" when 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-...
user avatar
4 votes
1 answer
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' ...
user avatar
  • 770
0 votes
1 answer
886 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?
user avatar
0 votes
0 answers
284 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 ...
user avatar
2 votes
2 answers
435 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 ...
user avatar
5 votes
1 answer
2k 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 ...
user avatar

1
2 3 4 5
7