default keys in gpa
Peter Gerwinski
peter@gerwinski.de
Wed, 17 Jan 2001 23:34:38 +0100
Bernhard Herzog wrote:
> Now, I'd like to be able to find out which key gpg would have used by
> default, so the default key has a useful initial value. A simple first
> approximation would seem to be the key returned by
> gpapa_get_secret_key_by_index for index 0 if there is at least one
> secret key. Is that a safe assumption?
No.
> Is there perhaps another way to
> get gpg's default key through gpapa?
I don't know any. One can parse the `options' file ... :-/
Peter
--
(_G-N-U_) Dr. rer. nat. Peter Gerwinski <peter.gerwinski@g-n-u.de>
o o G-N-U GmbH, EDV-Dienstleistungen, http://www.g-n-u.de