gpg-rs / gpgme

GPGme bindings for Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exporting secret subkeys only

DBLouis opened this issue · comments

commented

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?

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

commented

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