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

age (https://age-encryption.org/) for encryption #603

Closed
jimmycuadra opened this issue Jan 9, 2020 · 12 comments
Closed

age (https://age-encryption.org/) for encryption #603

jimmycuadra opened this issue Jan 9, 2020 · 12 comments

Comments

@jimmycuadra
Copy link
Contributor

Any thoughts on including age as an alternative for PGP encryption?

@jvehent
Copy link
Contributor

jvehent commented Jan 9, 2020

many thoughts :) most of them positive. That would also give us support for ssh key encryption, which is nice. any volunteers?

@jimmycuadra
Copy link
Contributor Author

I don't enjoy Go much so I don't relish the idea of working on it myself, but I do love sops and would like to support it, so I might look into it. Is there a guide or some general pointers on introducing new encryption mechanisms?

@jvehent
Copy link
Contributor

jvehent commented Jan 9, 2020

it's not a guide, but my PR on adding support for naclbox may be a good starting point: #569

@jimmycuadra
Copy link
Contributor Author

Seems not possible right now, as the library parts of age are in an "internal package." I don't know Go well enough to have realized this before attempting to integrate it into sops for an hour or so. 🤦‍♂

@dadrian
Copy link

dadrian commented May 6, 2020

@jvehent Would you be amenable to an implementation that shells out to age, similar to how the PGP implementation works?

@jvehent
Copy link
Contributor

jvehent commented May 6, 2020

The main issue is figuring out how to install that binary, as many users will only install sops and not age. gpg, by comparison, ships by default on most systems. But without that caveat, it is indeed an option.

@FiloSottile Do you have any plans to make age usable as a Go package?

@FiloSottile
Copy link

@FiloSottile Do you have any plans to make age usable as a Go package?

Yup, 100%! I have been slacking on it, but I'll work on it next week.

@thib92
Copy link

thib92 commented May 13, 2020

There is an open PR on age aiming to expose the internal methods so that it can be used as a library by any Go program. Good thing sops is in Go too :)

Once this is merged, I'd be happy to give it a try!

@jmhodges
Copy link

@jimmycuadra
Copy link
Contributor Author

Basic support added in #688!

@supermarin
Copy link

Can someone close this issue? it's been resolved and the implementation is in develop

@si14
Copy link

si14 commented Feb 18, 2021

Is there a chance this will get released soon? Or is using develop the official recommendation for the time being?

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

9 participants