-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add thin interface._generate_*_keypair wrappers
Based on discussions in #288, add the following keypair generation interface functions for each key type: - generate_and_write_*_keypair - generate_and_write_*_keypair_with_prompt - generate_and_write_unencrypted_*_keypair Other than the underlying `_generate_*_keypair` functions, these thin wrappers respect the principle of 'secure defaults', i.e. encrypt private keys per default, and still don't surprise callers with prompts, both unless made explicit through the function name.
- Loading branch information
Showing
4 changed files
with
411 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.