mtoohey31 / git-crypt-agessh Goto Github PK
View Code? Open in Web Editor NEWEncrypt files in git using age and ed25519 ssh keys.
Encrypt files in git using age and ed25519 ssh keys.
There's no guarantee that the current host will have been a recipient in the previous version, and in fact, no requirement that it must be a recipient in the current version either, so we should allow decryption to fail when comparing the current text to the previous version. If it does fail, we should re-encrypt.
Even with the check comparing the current text to the previous encrypted text, git still often thinks encrypted files have been changed when they haven't been. If we can determine under what circumstances this occurs, we could probably fix this by using the go-git
equivalent of git update-index --assume-unchanged
when the clean/smudge filters realize this situation is about to occur.
If the recipients for an encrypted file are updated without the file itself being changed, the value checking logic in the clean
subcommand won't update the file, it'll reuse the old version. Normally reusing the old version is correct, but not when we update the recipients, so when we compare against the old version, we also need to compare the recipients for the old version with the recipients for the new version, because if those are different then we also need to re-encrypt.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.