Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git-encrypt on Windows #6

Open
alucard2511 opened this issue Nov 8, 2011 · 4 comments
Open

git-encrypt on Windows #6

alucard2511 opened this issue Nov 8, 2011 · 4 comments

Comments

@alucard2511
Copy link

Is it important or not if I don't use the function encrypt diff in the script gitcrypt. I know it will generate the ugly difference bettween 2 version of the same file. But apart of this issue, does it influence anything else about the version history of the repository?
Because for me, "encrypt diff" seem do not work on windows. when I run "git diff filename" with encrypt I have this error
cat: $@: No such file or directory
cat: $@: No such file or directory

Thanks in advance for your answer.

@shadowhand
Copy link
Owner

Its very possible that git-encrypt does not work on Windows. The cat error probably comes from not having the openssl command available on the command line.

@alucard2511
Copy link
Author

Actually, I use msysgit on windows. And I work very well with the gitcrypt smudge and gitcript clean. It do perfectly the encryption. Just when I use git diff, this error appears. I think it may come from the variable $1 that you insert for the gitcrypt diff. In the 2 other parameter, there is not this variable.

@shadowhand
Copy link
Owner

You wouldn't see any errors at all unless the openssl call fails. Does running the following command cause an error?

openssl enc -d -base64 -aes-256-ecb -k "blahblahblah" -in "foo.txt"

@shadowhand shadowhand reopened this Nov 9, 2011
@alucard2511
Copy link
Author

No, it doesn't cause any error. But when I run git diff , it does.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants