Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Way to detect age key type of an encrypted file? #170

Closed
e-zk opened this issue Jan 1, 2021 · 1 comment
Closed

Way to detect age key type of an encrypted file? #170

e-zk opened this issue Jan 1, 2021 · 1 comment

Comments

@e-zk
Copy link

e-zk commented Jan 1, 2021

To determine the key type of an encrypted secret, currently I am reading the file's header.
If you open an encrypted file in a text editor it will clearly show -> ssh-rsa ..., -> scrypt ..., etc on the second line.

Is this the proper way of determining a secret's key type (reading the raw header of the secret, and checking it) or is there a function within the spec/library to do this for me?

Or is it instead advised that I should enforce a specific key type for secrets in my projects?

@e-zk e-zk added the spec label Jan 1, 2021
@codesoap
Copy link
Contributor

codesoap commented Jan 9, 2021

This issue overlaps with #56.

Repository owner locked and limited conversation to collaborators Apr 19, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants