#574943 Support for secret keyrings.

#574943#5
Date:
2010-03-22 11:26:37 UTC
From:
To:
I wish to store changes to my .gnupg in a (private, of course!) VCS
repository.  Since VCSs handle text files better than binary blobs,
jetring is useful -- ignore pubring.gpg itself, and instead run
jetring as a pre-commit hook, committing changes to the resulting dir.

This trick can't be used for secring.gpg, because jetring doesn't
understand secret keys.  It should be pretty easy to teach it; as a
proof-of-concept, I ran this sed script on jetring-explode to convert
it from public-only to secret-only:

    s/--export/--export-secret-keys/g
    s/--list-keys/--list-secret-keys/g
    s/--keyring/--secret-keyring/g
    s/pub/sec/g

Obviously it'd be a lot more reliable if such functionality was
maintained within jetring instead of as a dodgy sed script :-)