Add armored example

This commit is contained in:
Andrew Lubawy 2024-07-29 10:28:45 -07:00 committed by Ryan Mulligan
parent e945c673b8
commit 8f6065756a
2 changed files with 11 additions and 0 deletions

View file

@ -0,0 +1,7 @@
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IFYzWG1FQSBpZkZW
aFpLNnJxc0VUMHRmZ2dZS0pjMGVENnR3OHd5K0RiT1RjRUhibFZBCnN5UG5vUjA3
SXpsNGtiVUw4T0tIVFo5Wkk5QS9NQlBndzVvektiQ0ozc0kKLS0tIGxyY1Q4dEZ1
VGZEanJyTFNta2JNRmpZb2FnK2JyS1hSVml1UGdMNWZKQXMKYla+wTXcRedyZoEb
LVWaSx49WoUTU0KBPJg9RArxaeC23GoCDzR/aM/1DvYU
-----END AGE ENCRYPTED FILE-----

View file

@ -6,4 +6,8 @@ in {
"secret2.age".publicKeys = [user1]; "secret2.age".publicKeys = [user1];
"passwordfile-user1.age".publicKeys = [user1 system1]; "passwordfile-user1.age".publicKeys = [user1 system1];
"-leading-hyphen-filename.age".publicKeys = [user1 system1]; "-leading-hyphen-filename.age".publicKeys = [user1 system1];
"armored-secret.age" = {
publicKeys = [ user1 ];
armor = true;
};
} }