-
-
Notifications
You must be signed in to change notification settings - Fork 193
Encfs script returns different password in tagged/published version than on master #169
Comments
Hi Karel, was nice to meet you briefly at 34C3. |
Sorry for late reply. Hm. Master fails, on new volume, with this
v0.7.16 (newest tagged at the time of writing this issue) fails with
But that might be because I have new version already installed. But when I install old python-trezor version with pip2, I get the same error. And when I just run
|
Hm, not sure how to install module mnemonic for python2. pip2 says
even when I specifically install with pip2. However python2 then does not see the packages. |
I did, but pip2 kept on installing things just for python3 :( I needed to force-reinstall pip2. Anyway, everything started working (even the original issue), when I forcibly rewrote the first line of |
AFAICT, the problem is that the encfs script doesn't work with python 3 (and python-trezor master doesn't work with python 2) i'll post a patch later and we'll see whether that fixes the problem |
Yes, let's deprecate Py2 completely and port all scripts to Py3-
only syntax.
|
I can confirm. With existing encfs volumes encrypted with the script, python2 (with 0.9.0) works and python3 doesn't and says With new volumes, python3 is not able to create them. To reproduce:
encfs is in apt, although it shows this ugly warning on instal |
I think the commit I just sent fixes this. |
uhhhhhh nope the debug messages should really really go away o_O |
fixed in 688fe06 |
Hm. I tried it now and it shows "password incorrect", with current master and latest pip version. I will try to hunt down the bug again. |
When I
... it works. When I use everyhing from master and latest pip, it breaks |
Please reopen. I cannot find where the issue is since I don't really understand all the python2/python3/bytes/hex thing |
current master is broken |
encfs script is again fixed in master, and contains a library version guard that should ensure that people don't mix-and-match |
I am using encfs script from here to encrypt my backups
https://github.com/trezor/python-trezor/blob/master/tools/encfs_aes_getpass.py
When using version from master, encfs shows error about wrong password (on a file encrypted by the older, previously installed version, from python repository). When using version from latest tag, it works. I did not investigate further cause of the issue.
The text was updated successfully, but these errors were encountered: