Can GnuPg flag as invalid if it receives a key for a uid (the email) where the email is found on a keyserver, but not with that key?

I created a test key to share with someone for the purpose of debugging a client issue. However, I did not transmit that key to a key server, and it still uses my email. The key server locally that my email client (kmail or evolution) shou… Continue reading Can GnuPg flag as invalid if it receives a key for a uid (the email) where the email is found on a keyserver, but not with that key?

Does gpg (or openpgp in general) authenticate symmetrically-encrypted data?

When using gpg –symmetric to encrypt a file/message with a passphrase, is there any cryptographic integrity check to prevent an attacker from modifying the ciphertext? E.g. does gpg (or any other common implementation of OpenPGP) include,… Continue reading Does gpg (or openpgp in general) authenticate symmetrically-encrypted data?

GnuPG now uses ECC 25519 as default on new key generation – any compatibility issues to worry about?

TL;DR: I’m assuming that if GnuPG made it a default then it should be what we use, but it used "bad" defaults in the past so I’m wondering if there are any tradeoffs to this? More specifically: is ECC 25519 sufficiently adopted … Continue reading GnuPG now uses ECC 25519 as default on new key generation – any compatibility issues to worry about?

OpenPGP: What happens if I have two keys on the same email and try to encrypt a message with that recipient?

Let’s assume that I saved two OpenPGP keys(key1 and key2) on the email mail@mail.com.
What would happen if I try to encrypt a message with the following command:
gpg –encrypt –recipient mail@mail.com

Options:

Message will be encrypted … Continue reading OpenPGP: What happens if I have two keys on the same email and try to encrypt a message with that recipient?

Instruct gpg-agent to use specific scdaemon – Starting scdaemon with debugging enabled

I’m trying to debug a smartcard with the OpenPGP applet using gpg and scdaemon. In order to enable debugging for scdaemon, I created
~/.gnupg/gpgagent.conf:
disable-scdaemon

and ran:
/usr/lib/gnupg/scdaemon –daemon –debug-level advanced… Continue reading Instruct gpg-agent to use specific scdaemon – Starting scdaemon with debugging enabled