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

blackbox-files.txt contains full paths for files #287

Open
daonin opened this issue Jul 23, 2019 · 6 comments
Open

blackbox-files.txt contains full paths for files #287

daonin opened this issue Jul 23, 2019 · 6 comments

Comments

@daonin
Copy link

daonin commented Jul 23, 2019

I register a new file and see in the blackbox-files.txt its full path:
for example,

c/users/"user"/documents/github/notes/test.md

If I then add a new admin, re-encrypt files, commit and push and new admin will pull and try to decrypt, he will get an error of not being able to find a file by my old path, wich includes my username.

I can be doing something wrong...

@TomOnTime
Copy link
Collaborator

The filenames listed in blackbox-files.txt should not include the base path. That is, they should be relative to the repo base directory. Delete c/users/"user"/documents/github/ from the line inblackbox-files.txt and it should work.

I'm not sure how that full path got in there, though I suspect that blackbox_register_new_file doesn't work properly under Windows. That's never been tested.

@daonin
Copy link
Author

daonin commented Jul 23, 2019

Yeah, I've tried that (thought it was strange to put the base path in potentially VCS and removed part of the base path in blackbox-files.txt) but it didn't work. I've tried different combinations (including ../) with no luck.

@annasvst
Copy link

I have the same issue with registering files on MacOs.
Also, when I try to decrypt a file (with blackbox_edit_start) that has been added before and are in blackbox-files.txt file I get an error that file is not found. However blackbox_decrypt_all_files works with old files.

@nboaldin
Copy link

Same issue. Blackbox referencing root of machine rather than root of repo.

@TomOnTime
Copy link
Collaborator

I believe this is fixed. Please try the latest "master".

@cholantesh
Copy link

Hi; I'm experiencing the same issue with the latest version in master.

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

5 participants