mkdir test and cd into itgit init and git secret init, create an empty .gitignoregit secret tell to add someone who can access the secretsfile1 in the current foldermkdir subsub, and name it file2git secret add -i file1 sub/file2git secret hide -vd, expecting that unencrepted files got cleaned up.The message of the git secret hide -vd command shows that only file1 was deleted.
And it is true that only file1 was deleted, but sub/file2 was not.
Both files were encrypted successfully, just for your information.
I suppose the file in the sub directory should also get deleted?
ls -l shows that my user account has full access rights to both file1 and file2.
So I guess it is not the "permission denied" stuff causing the problem.
I cloned the git-secret repo and ran the tests.
All tests passed, including the case "run 'hide' with '-d' and '-v' and files in subdirectories"
So I have no idea about where can be wrong...
Operating system: (uname -a) …
I use git-secret on Windows with the Linux subsystem feature.
Host: Windows 10
Client: Ubuntu distribution.
Linux DESKTOP-IQ5GKG8 4.4.0-43-Microsoft #1-Microsoft Wed Dec 31 14:42:53 PST 2014 x86_64 x86_64 x86_64 GNU/Linux
git-secret path: (which git-secret) …
/user/bin/git-secret
git-secret version: (git secret --version) …
0.2.2
Shell type and version: ($SHELL --version) …
GNU bash, version 4.3.48(1)-release (x86_64-pc-linux-gnu)
gpg version: (gpg --version) …
1.4.20
Thanks for the report!
That's a entry-level issue, I guess. @a3785lex do you want to take this over?
Well, I surely can.
But I only know a little about shell script and -nix stuffs (mostly live on the Windows) so it may take some time.
After playing with the test and source code for a while, I cannot find any tiny point that can be wrong.
Then I just make build and replace the one found in path with the freshly built one, problem solved.
I did not realize that this bug had been fixed by @ctavan quite a while ago until looking up for the git history.
Sorry for bothering with this dumb issue!
I agree though that it would be nice to release a new version that includes my fix ;). It's the only issue that I find current 0.2.2 version of git-secret.
What do you think @sobolevn ? Since there's rather little development activity here recently, how about at least releasing the latest master to the public?
Ok, sure. That's not so much left to do, so guess I will manage to find some time this week.
That would be great @sobolevn. Let me know if I can help.
@hurricanehrndz do you have uncommited changes that can help me? If case you do, could you please commit them?
@ctavan sure, thanks!
I will look into it.
On Nov 27, 2017 3:17 AM, "Nikita Sobolev" notifications@github.com wrote:
@hurricanehrndz https://github.com/hurricanehrndz do you have
uncommited changes that can help me? If case you do, could you please
commit them?@ctavan https://github.com/ctavan sure, thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sobolevn/git-secret/issues/116#issuecomment-347137780,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFiQzTEVMVvAYMA_Pek_IVUS9Ns-7-c7ks5s6oxSgaJpZM4QqtHR
.
I will commit my change back into dev, sorry for the delay.I have been having troubles finalizing my new dev machine.
@sobolevn,
My work has been merged into develop. I believe 2.3 is ready for release other than a guides section in the readme.
@hurricanehrndz you are awesome. Let's do the release!