[gnupg-user] Get secring path with command-line

Javier González del Tánago jtanago at dilmun.ls.fi.upm.es
Wed Sep 5 16:03:22 CEST 2012


Hi,

I want to get the secring path with a script, until now I used this command:

  $ gpg --secret-keyring /home/user/keyring/secring.gpg 
--list-secret-keyring
  /home/user/keyring/secring.gpg
  [......]

But if the keyring is empty I got no output.

There is another way to get this option?

Thanks


-- 
-------------------------------------
Javier González del Tánago Liberal
-------------------------------------
e-mail: jtanago at dilmun.ls.fi.upm.es
-------------------------------------
CriptoLab. Despacho 6305.
Facultad de Informática.
Campus de Montegancedo S/N
Universidad Politécnica de Madrid.
Boadilla del Monte. Madrid (Spain)
-------------------------------------


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2925 bytes
Desc: S/MIME Cryptographic Signature
URL: </pipermail/attachments/20120905/fbdf7589/attachment.bin>


More information about the Gnupg-users mailing list