Giter Site home page Giter Site logo

git-crypt-agessh's People

Contributors

mtoohey31 avatar

Watchers

 avatar  avatar

Forkers

ggg-killer

git-crypt-agessh's Issues

Decryption when checking the previous version should be allowed to fail

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.

Git thinks encrypted files have been modified when they aren't

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.

Updating recipients without updating file doesn't work properly

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.