<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
It would be nice to have a GUI option via GPG4Win to do this.<br>
<br>
Regards,<br>
Andrei<br>
<br>
<div class="moz-cite-prefix">On 2024-04-24 10:31 AM, Bernhard Reiter
via Gpg4win-users-en wrote:<br>
</div>
<blockquote type="cite"
cite="mid:202404240931.01346.bernhard@intevation.de">
<pre wrap="">Hi,
Am Dienstag 23 April 2024 20:08:58 schrieb gpg4win--- via Gpg4win-users-en:
</pre>
<blockquote type="cite">
<pre wrap="">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!)
</pre>
</blockquote>
<pre wrap="">
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.)
</pre>
<blockquote type="cite">
<pre wrap="">so after reading p65 of the GnuPG manual
(<a class="moz-txt-link-freetext" href="https://www.gnupg.org/documentation/manuals/gnupg.pdf">https://www.gnupg.org/documentation/manuals/gnupg.pdf</a>) 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".
</pre>
</blockquote>
<pre wrap="">
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.
</pre>
<blockquote type="cite">
<pre wrap="">I'm using GPG4Win 4.1.0 / GnuPG 2.4.0.
</pre>
</blockquote>
<pre wrap="">
There is a newer version available which you can download on gpg4win.org.
Best
Bernhard
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Gpg4win-users-en mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gpg4win-users-en@wald.intevation.org">Gpg4win-users-en@wald.intevation.org</a>
<a class="moz-txt-link-freetext" href="https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/gpg4win-users-en">https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/gpg4win-users-en</a></pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<p><b>ing. Andrei Boros</b></p>
<p>Serviciul IT&C<br>
<b>Radio Romania</b><br>
<code>
Tel: +40-21-303-1870<br>
+40-745-115721<br>
Email: <a href="mailto:andrei@srr.ro">andrei@srr.ro</a></code></p>
</div>
</body>
</html>