-
Notifications
You must be signed in to change notification settings - Fork 47
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
Standardize key management for bnscli #831
Comments
In Linux there is a cli tool, I think Echo $key | base64 - d > keyfile |
@ethanfrey It's not a base64 issue, but rather decoding a hex string and writing it to a file. |
I am using a custom program to deal with hex values https://gist.github.com/husio/0508ad24aa52a8f95684a1a86f33e1cb
|
We use this in iov-core scripts:
Example to do what you want I believe (hex to base64): $ echo -n 00CAFE00 | xxd -r -p - | base64
AMr+AA== $ echo -n AMr+AA== | base64 -d | xxd -p -c 999
00cafe00 |
Yeah, I have already added the |
We really need a standard key management for any production bnscli tool |
@ethanfrey I will reopen then an formulate the ticket differently. |
There are several ways to store keys in strings, some of them are in use in IOV
Currently there is no standard way to deal with this when working with bnscli.
In order to simplify this process I would propose 2 solutions:
Ideally I would have both of these solutions implemented for convenience.
The text was updated successfully, but these errors were encountered: