Comments (8)
I use UTF8 both in files and filenames all the time. What exactly led up to this? What system was the locked file created on, what filesystem are you decoding on, etc.?
from git-crypt.
I made a new github for my encrypted files and uploaded them without a problem. I pulled the repo to my second windows computer and attempted to decrypt but got the error above. I have the latest windows release of git-crypt installed, so maybe that's part of the problem
from git-crypt.
I assume you mean "Git repository" not "github", but whatever...
Was the first machine you used to encrypt and push the repository a similar Windows machine? Can you clone lock/unlock the repository from the first machine? Can you clone it to a different location and unlock also from the first machine?
from git-crypt.
Both are x64 running latest windows, one a laptop and one a pc. I can lock and unlock but haven't tried cloning. Maybe I'll just copy the whole repo over directly
from git-crypt.
I think I found the problem in the function get_file_attributes in commands.cpp the -z argument isn't given which encodes an å for example to "\303\245" that seems to be the problem. I don't know any cpp though so if you would like to help me change it so it does it like in the get_encrypted_files function I'd really appreciate it :)
from git-crypt.
Yes, get_file_attributes
should indeed be passing the -z
option. Good catch!
@Crims-on - if you could create a repo on GitHub containing the problematic filenames so that I can reproduce the problem, it would help me fix the bug.
from git-crypt.
I only got one error because it probably didn't iterate through the rest and that was for "- 2 - Områden- 2 - Områden.md"
from git-crypt.
I have a similar issue. Not exactly like this. It only happens when I change certain characters together. It throws error like "git-crypt.exe" smudge' failed 1" However, I just need to avoid that combination, everything works. I have been using this great tool for a while, but this is the first time I see this.
from git-crypt.
Related Issues (20)
- Document well-known file header in readme
- Git-crypt doesn't decrypt HOT 4
- Not compatible with the version of Windows. HOT 2
- Windows: git-crypt unlock: The system cannot find the path specified. HOT 3
- how to unlock git crypt in github actions workflow?
- feature request: use ASCII for keys HOT 2
- git-crypt 0.7.0 does not build with openssl 3.1.0 HOT 2
- `git add -p` workaround?
- Unicode file/dir name bug fix
- `git-crypt status` in folders with many untracked files HOT 1
- It doesn't handle small files (at least diff)
- uid for all the keys HOT 1
- git-crypt is taking over 10 minutes HOT 1
- add-gpg-user : Won't work on mobaxterm
- git-crypt unlock fails HOT 2
- git-crypt fails to add-gpg-user when gpg.program is set to gpgsm HOT 1
- git-crypt fails to add-gpg-user when gpg.program is set to gpgsm
- Warning: unable to access '.git/info/attributes': Permission denied - on Windows
- Git unlock “not valid git-crypt file” HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-crypt.