0
Env:
Microsoft Windows [Version 10.0.17763.379]
gpg (GnuPG) 2.2.11
libgcrypt 1.8.4
Kleopatra Version 3.1.4-gpg4win-3.1.5
Why does the following not work
gpg -e -u 12345678 file.txt
but this does
gpg -e -r 12345678 file.txt
12345678 is the KeyID
for a RSA key imported in Kleopatra. The former displays
You did not specify a user ID. (you may use "-r")
Current recipients:
Enter the user ID. End with an empty line:
My understanding was that -u can be used to change the key being used by gpg. Isn't that why this works
gpg -s -u 12345678 file.txt