Skip to content
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

feature request: use ASCII for keys #289

Open
giorgiga opened this issue Apr 24, 2023 · 2 comments
Open

feature request: use ASCII for keys #289

giorgiga opened this issue Apr 24, 2023 · 2 comments

Comments

@giorgiga
Copy link

giorgiga commented Apr 24, 2023

Having git crypt export produce ASCII keys (eg. with base64) would help in the managing and sharing of keys, as one could store/transmit them them as text without worries (eg. add them to password managers without requiring support for attachments)

@manuelmhtr
Copy link

Another use case: I tried to store the key in AWS Secret Manager, it doesn't support files but plain text.

@manuelmhtr
Copy link

I found the solution. You can transform the input to base64:

openssl base64 -in  [input path] -out [output path]

And to decode it:

openssl base64 -d -in  [input path] -out [output path]

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

No branches or pull requests

2 participants