sops
sops copied to clipboard
Sort masterkeys to try offline decrypt methods first
This is to address #305. Sort master keys so PGP/age keys appear before the others and being used first.
@ajvb Hi, sorry to bother you, but could you maybe take a look please? Hopefully it's a quick win :)
This is a sensible change, I think. It would be great if you could rebase your work and sign-off your commit. Thanks! :bow:
@hiddeco Ok, rebased and signed-off. Great to see that the project is back to life! π
I have to check this against the history from the issue, which is why I moved it one milestone further.
But do know itβs on the (now active) backlog. π
https://github.com/getsops/sops/issues/305#issuecomment-1793766331 might be preferable to this solution, since it is more flexible.
#305 (comment) might be preferable to this solution, since it is more flexible.
@felixfontein Hi, I've opened #1345 which supports comma-separated --decryption-order
to replace this PR.
(or I can push the new code into this PR if it's more convenient)