Skip to content

Conversation

@cpmills1975
Copy link

Added code to enable the user to delete private keys. Primarily this required a change to the invocation of the delete command but also required a change to the _get_key_from_file to return the key fingerprint rather than the key ID. This has an added advantage that the parsing in _get_key_from_file now uses machine readable output from the gpg command so should be more consistent across versions.

LorenzBischof and others added 5 commits October 21, 2017 17:18
fix key_present when using key_id
Modified the invocation of the delete command to --delete-secret-and-public-keys.
Modified the _get_key_from_file code to return the key fingerprint rather than the ID and to use machine readable output from the gpg command.
Also added a --batch to the import as I was experiencing some hanging while importing from a key file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants