[Gpg4win-users-en] Changing which keypair is the default key

Andrei Boros andrei at srr.ro
Wed Apr 24 11:06:29 CEST 2024

It would be nice to have a GUI option via GPG4Win to do this.


On 2024-04-24 10:31 AM, Bernhard Reiter via Gpg4win-users-en wrote:
> Hi,
> Am Dienstag 23 April 2024 20:08:58 schrieb gpg4win--- via Gpg4win-users-en:
>> Hello - I'm trying to change which keypair is my default key. I couldn't
>> see a way to do this within Kleopatra (please let me know if there is!) 
> one way to select the default key in the crypto backend is to set
>   default-key [fingerprint]
> in the gpg.conf configuration file with a text editor.
> (You can create the file, if it does not exist.)
>> so  after reading p65 of the GnuPG manual
>> (https://www.gnupg.org/documentation/manuals/gnupg.pdf) I tried each of the
>> following from the command line:
>> gpg --default-key [fingerprint]
>> gpg --default-key [email address]
>> gpg --default-key [name]
>> gpg --default-key [Key ID]
>> These gave me "WARNING: no command supplied. Trying to guess what you
>> mean...Go ahead and type your message".
> The command line usage of the option is only for this very command, so
>   gpg --default-key  [fingerprint] --sign ...
> will work, but is not permanent. For it to be permanent is has to go into the
> configuration file.
>> I'm using GPG4Win 4.1.0 / GnuPG 2.4.0.
> There is a newer version available which you can download on gpg4win.org.
> Best
> Bernhard
> _______________________________________________
> Gpg4win-users-en mailing list
> Gpg4win-users-en at wald.intevation.org
> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/gpg4win-users-en


*ing. Andrei Boros*

Serviciul IT&C
*Radio Romania*
|Tel:   +40-21-303-1870
Email: andrei at srr.ro <mailto:andrei at srr.ro>|

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wald.intevation.org/pipermail/gpg4win-users-en/attachments/20240424/12911723/attachment.html>

More information about the Gpg4win-users-en mailing list