TIP: Click on subject to list as thread! ANSI
echo: public_keys
to: TOMMI KOIVULA
from: WILFRED VAN VELZEN
date: 2020-01-04 19:10:00
subject: Re: test

Hi Tommi,

On 2020-01-04 10:04:46, you wrote to me:

 TK> -----BEGIN PGP SIGNED MESSAGE-----
 TK> Hash: SHA256

I'm wondering why yours uses SHA256 and mine uses SHA1. SHA1 is the more
compatibel one with older versions, but is less secure...

 >> I don't know. Maybe it's the default? (Can you set a default key?)

 TK> In Golded setup I could use the exact fingerprint to choose the key
instead
 TK> of using the email address. "gpg.exe -o @file -u "tommi@fidonet.fi"
 TK> --clearsign @tmpfile" apparently picked up the first one in the ring. The
 TK> revoked one.

Just found the --default-key option. ;)

I have this in my ~/.gnupg/gpg.conf file:

# If you have more than 1 secret key in your keyring, you may want to
# uncomment the following option and set your preferred keyid.

default-key  3BB37DA84A97932B

The man page says this:

       --default-key name
              Use name as the default key to sign with. If this option is not
used, the default key is the first key found in the secret  keyring.   Note
              that -u or --local-user overrides this option.


Bye, Wilfred.

--- FMail-lnx64 2.1.0.18-B20170815
* Origin: FMail development HQ (2:280/464)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.