-
-
Notifications
You must be signed in to change notification settings - Fork 15k
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-plugin-tpm: 0.2.0 -> 0.3.0 #382630
age-plugin-tpm: 0.2.0 -> 0.3.0 #382630
Conversation
Cc @Foxboron |
@stigtsp LGTM :) |
5fee367
to
8d00765
Compare
Some NixOS tests could be nice, we also have virtual TPM support for them if you'd like to test decrypt as well. |
Oh nice. I'll give that a shot. |
8d00765
to
6e9723c
Compare
First time writing a nixpkgs nixosTest, this stuff is pretty cool. Alright, so now we've got two smoke tests.
|
3b9258d
to
7e59a88
Compare
7e59a88
to
8cf3dca
Compare
8cf3dca
to
2661ba9
Compare
Pushed changes applying feedback. Thanks all! |
2661ba9
to
69ca233
Compare
69ca233
to
b9ae163
Compare
Upgrades age-plugin-tpm to 0.3.0.
What's really neat about this new version is it adds support for encrypting secrets on machines without a TPM—or even non-Linux. So you can encrypt secrets locally on a MacBook Pro and decrypt them only on your Linux server with that TPM. So I relaxed the Linux only platform requirement.
Other side note, it appears the test suite needs an age binary in the PATH, so I added that as a
nativeCheckInputs
dependency.If maintainers think it would be useful, should I add a trivial
passthru.test.encrypt
?Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.