-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement private keys export/import symmetric functionalities #4436
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4436 +/- ##
==========================================
+ Coverage 54.58% 54.63% +0.05%
==========================================
Files 248 250 +2
Lines 15967 16038 +71
==========================================
+ Hits 8716 8763 +47
- Misses 6617 6629 +12
- Partials 634 646 +12 |
Allow users to encrypt ASCII-armor output with different passphrase.
if err != nil { | ||
return err | ||
} | ||
encryptPassword, err := input.GetPassword("Enter passphrase to encrypt the exported key:", buf) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As we discussed earlier, maybe we should open another issue for this, however, I think it would be good to improve input.GetPassword
to ensure that something like 12345678
is not accepted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zmanian ping
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TestedACK
Co-Authored-By: Alexander Bezobchuk <[email protected]>
Co-Authored-By: Alexander Bezobchuk <[email protected]>
Add Keybase's ExportPrivKey()/ImportPrivKey() API calls to export/import
ASCII-armored private keys. Relevant keys subcommands are provided as well.
Closes: #2020
docs/
)clog add [section] [stanza] [message]
Files changed
in the github PR explorerFor Admin Use: