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
0 answers
82 views

recovering a pgp private key

My backup of my private key for my gpg key was deleted by mistake when I reinstalled kleopatra software and I need to get my PGP working again! I need help, how can I recover my private key?
user avatar
1 vote
1 answer
81 views

Encrypting with generic GPG key in gpg4win

One of our business partners has a PGP domain key where the key is valid for encryption to any email address of the business. The user id of the key is like [email protected] - and for the life of ...
user avatar
0 votes
1 answer
179 views

I generated a new GPG key using GnuPG and associated multiple email addresses with it. Is it possible to remove some of these email addresses now?

I'd like to clarify that the GPG key has not been uploaded to any server yet; it only exists on my local machine. In this scenario, can I proceed with using deluid to remove certain email addresses? ...
Zoltan King's user avatar
0 votes
1 answer
64 views

Privacy concerns related to OpenPGP (Email Encryption) key being searchable on key servers

I am considering configuring PGP (Pretty Good Privacy) in my Thunderbird email client to enhance the security and privacy of my email communication. However, I am concerned about potential privacy ...
Amit's user avatar
  • 260
2 votes
1 answer
187 views

Cannot protect GPG key using TPM2 on Ubuntu 22.04

I'm trying to protect a GPG key using the TPM2 available on my laptop, but I'm not having any success. Probably I'm doing something wrong, but I cannot figure out what this is. My system is running ...
sergico's user avatar
  • 151
0 votes
0 answers
55 views

How to recover pgp keys from a Windows.old directory as of September 2023?

This question has been asked before but whether or not the process works seems to be dependent on the software versions involved. I've tried them all and none work. Does anyone know how I would ...
Mark Plunkett's user avatar
0 votes
1 answer
507 views

GPG: Which key is GPG exactly using for encrypting and decrypting?

Sometime back I installed GPG and been using it to encrypt files and text. Command used to encrypt: gpg -c file.zip > file.zip.gpg Command used to decrypt: gpg -d file.zip.gpg > file.zip Till ...
We are Borg's user avatar
0 votes
0 answers
45 views

GPG allows importing an invalid secp256k1 public key

I came across a PGP public key that seems invalid. The key is a secp256k1 public key that supported by GPG. In fact, GPG allows importing that key even if it has an invalid secp256k1 public key inside....
Andreas Tzionis's user avatar
0 votes
0 answers
260 views

How do I tell pass to update my key if `pass init` isn't working?

I am trying to use pass again after a longish lull, and it was (reasonably) complaining that my gpg key was expired. I used the instructions at Can you extend the expiration date of an already expired ...
Amanda's user avatar
  • 282
1 vote
1 answer
463 views

How to make thunderbird automatically encrypt emails if possible?

When I start to compose a new email in Thunderbird, I want it to automatically enable the Encrypt button after I type a recipient's email address into the To field, if I have that recipient's PGP key ...
Michael Altfield's user avatar
0 votes
0 answers
114 views

Hacked Faceboook Profile and Encrypted PGP mail [duplicate]

Similarly to the issue Decrypting a PGP Message inside .asc file my FaceBook profil has been stolen (unknown e-mail added, set as "main e-mail" for FB, password changed, and my own e-mail ...
F.C.'s user avatar
  • 1
0 votes
0 answers
35 views

Managing signed commits as an organization

We are looking to introduce signing of commits into our company. Currently we are leaning towards using GPG kays, but we can consider SSH if what we want cannot be achieved with GPG. We are using a ...
user avatar
0 votes
0 answers
604 views

Kleopatra won't open

Out of the blue Kleopatha just refuses to open, I have dug through the internet and found nothing that works. I ran it as an admin and for some reason it shows in task manager that its there but ...
user avatar
0 votes
2 answers
396 views

Is there a way to import PGP keys *interactively* using GPG?

I'm using PGP since version 2.3a, and I had liked the interactive user interface of it. Specifically when opening a file with PGP keys, PGP asked me what I want to do with it, allowing me to confirm ...
U. Windl's user avatar
  • 599
0 votes
2 answers
2k views

Forgotten pgp passphrase - login to Docker

Is there any way to make Docker abandon pgp authentication? I've forgotten my passphrase and my key isn't on any key-server. I've tried to login using access token, but Docker still asks for pgp ...
user3565923's user avatar
2 votes
1 answer
642 views

What does "Authentication" mean creating key with Kleopatra?

What does "Authentication" mean creating key with Kleopatra ? (see image) The image is in french sorry, please help me
J. Doe's user avatar
  • 23
0 votes
1 answer
299 views

PGP disk passphrase not recognized

I have an external drive fully encrypted with Symantec encryption desktop software using a pgp key. It has been done 15 years ago. Today I try to access the disk, but it's not working. It doesn't ...
Fabrice's user avatar
0 votes
1 answer
370 views

GPG: Which password should be used to sign key?

I am learning to use GPG. I have made a keypair with the password "a" to make sure that I cannot mistype the password. Immediately after making it, I entered gpg --edit-key id gpg> fpr ...
Mikke Mus's user avatar
  • 185
-1 votes
1 answer
88 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"...
Dmitry's user avatar
  • 127
2 votes
2 answers
2k 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 ...
Brent Miller's user avatar
2 votes
1 answer
3k 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 ...
Zaz's user avatar
  • 2,496
0 votes
2 answers
4k 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
KcFnMi's user avatar
  • 604
2 votes
0 answers
146 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 ...
Tony Barganski's user avatar
2 votes
2 answers
601 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?
NIRVANA101's user avatar
1 vote
1 answer
2k 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 ...
Digger's user avatar
  • 153
2 votes
1 answer
1k 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 ...
jabaa's user avatar
  • 132
0 votes
1 answer
1k 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....
SeraphsWrath's user avatar
1 vote
0 answers
199 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 ...
Blue482's user avatar
  • 45
20 votes
2 answers
7k 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 ...
jsstrn's user avatar
  • 303
0 votes
1 answer
2k 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 ...
vikas95prasad's user avatar
0 votes
0 answers
140 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 ...
user2139962's user avatar
0 votes
1 answer
873 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:
LaMere's user avatar
  • 1
0 votes
0 answers
1k 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 ...
Ben Zelnick's user avatar
1 vote
0 answers
378 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 ...
nisc's user avatar
  • 1,112
1 vote
0 answers
72 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 ...
kinnla's user avatar
  • 161
0 votes
1 answer
558 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....
Sami Ather's user avatar
5 votes
1 answer
677 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 ...
tell's user avatar
  • 89
0 votes
0 answers
1k 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
2 votes
1 answer
921 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 ...
Michael Altfield's user avatar
3 votes
1 answer
3k 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 ...
Monke's user avatar
  • 57
5 votes
1 answer
717 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&...
Dave Scotese's user avatar
3 votes
1 answer
493 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 - ...
JoJota's user avatar
  • 33
1 vote
0 answers
161 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.
dblouis's user avatar
  • 401
0 votes
1 answer
1k 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 ...
White's user avatar
  • 111
1 vote
1 answer
1k 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?
Alex V's user avatar
  • 111
1 vote
1 answer
441 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 ...
Grass's user avatar
  • 23
0 votes
0 answers
67 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 ...
Silicomancer's user avatar
2 votes
1 answer
2k 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 ...
Alex's user avatar
  • 235
2 votes
1 answer
6k 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 $ ...
not2savvy's user avatar
  • 578
1 vote
1 answer
607 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 ...
Michael Cornn's user avatar

1
2 3 4 5
7