gpg-rs / gpgme

GPGme bindings for Rust
GNU Lesser General Public License v2.1
83 stars 13 forks source link

Exporting secret subkeys only #34

Open DBLouis opened 4 years ago

DBLouis commented 4 years ago

I cannot find a way to only export secret subkeys without the main secret key. With the GPG CLI there is the --export-secret-subkeys option. What is the equivalent in GPGME?

johnschug commented 4 years ago

I don't think there is a way to do this currently.

DBLouis commented 4 years ago

I found an ugly alternative. https://wiki.debian.org/Subkeys (step 5)