mrpdaemon / encdroid

Encdroid is an Android application for accessing EncFS volumes on cloud storage
GNU General Public License v3.0
86 stars 20 forks source link

password containing symbol < #36

Closed schigum closed 11 years ago

schigum commented 11 years ago

Hi,

I've encountered the problem, that encryptions containing < in the password do not work in both encfs and encdroid. I can only open those with the program I generated them with. Several other symbols I tested worked though.

To illustrate the problem I have an empty folder generated by encfs: https://www.dropbox.com/sh/od8lssmxckds6y6/WIJVoCe16O

and one generated by encdroid: https://www.dropbox.com/sh/4w8e0uadp4583sd/IrnHpG1GIs

for both the password is: test<

Best regards, Schigum

mrpdaemon commented 11 years ago

Confirmed, thanks for reporting and providing the test cases. I'll look into this to see what is going on.

mrpdaemon commented 11 years ago

Ok, well this is weird. With the volumes you provided, encfs-java unlocks the one generated by encfs just fine using 'test<' as password, but the encdroid one does not unlock fine.

I've tried to reproduce the issue myself by creating volumes with encfs-java and encdroid both, and I can't reproduce the issue. Using 'test<' as password works just fine - volumes can be unlocked without problems. I'm attaching a test case generated with encfs-java to illustrate:

https://dl.dropboxusercontent.com/u/12971277/encfs-bug-test/.encfs6.xml

(password is 'test<' as well).

I'm wondering, is it possible that you've typo'd the password? Can you reliably reproduce the issue, ie. by creating multiple volumes with encdroid? If the answer is yes, I'd be interested in knowing the details of your phone setup, what Android version, what hardware etc.

schigum commented 11 years ago

Hi,

I'm really sorry to have wasted your time, but after having a very close look it's obvious, that it's not a fault of encdroid: I'm using a Samsung Galaxy Note 10.1 and whenever I type '<' in a passwort after writing a normal letter it adds TWO symbols. The first one added is an empty space. Still many thanks for your help and keep up the good work,

Schigum

mrpdaemon commented 11 years ago

Ahh, no problem :) closing this then.