|
From: Trejkaz X. <tr...@xa...> - 2003-04-25 14:35:18
|
Hi. I notice in a lot of software, the software can obtain a list of all privat= e keys from the keyring to present a list (e.g. "which key do you want to use for = yourself this session?") Looking at the KeyBundle class, I can get an iteration over the PublicKeys,= but not over the PrivateKeys. I can attempt to get the PrivateKey for each Pub= licKey in the other iterator, but I don't generally know the password and other so= ftware doesn't seem to require the password to be able to figure out that the key = exists. I thought for a moment that reading 'secring.gpg' would give me the list of= all my secret keys, but lo and behold the particular key I would actually use h= as somehow found its way into 'pubring.gpg'. Oddly enough all the software st= ill picks it up, so they must read both. Is there any reliable way to get a list of all private keys from the keyrin= g, then? TX --=20 [------ Trejkaz Xaoza -------] [ Web : http://xaoza.net/ ] [ Email : tr...@xa... ] [ Jabber : tr...@ja... ] |