Tao Effect Forums

Espionage => Espionage 3 => Topic started by: jacobsm on June 01, 2012, 03:33:21 PM

Title: Database Decryption Error
Post by: jacobsm on June 01, 2012, 03:33:21 PM
When I enter my master password into Espionage it thinks for a long while and eventually gives me a database decryption error and tells me to look in the log.

This is what I'm seeing;

6/1/12 6:15:36.235 PM   Espionage   ERROR (-[NSData(TECrypto) decrypt:]:131): scryptdec_buf returned: 9
6/1/12 6:15:36.235 PM   Espionage   ERROR (+[DBSubdb subdbWithData:master:pass:error:]:45): failed because: !decrypted
6/1/12 6:15:37.046 PM   Espionage   ERROR (-[NSData(TECrypto) decrypt:]:131): scryptdec_buf returned: 9
6/1/12 6:15:37.054 PM   Espionage   ERROR (+[DBSubdb subdbWithData:master:pass:error:]:45): failed because: !decrypted
Title: Re: Database Decryption Error
Post by: zsolt on June 02, 2012, 10:30:37 PM
Hello jacobsm

Do you still experience this issue?
Were you able ever to unlock the Espionage v3, i.e. did it work at first and then get stuck at some point (after reboot for example) or it never worked?
Could you open a support ticket and attach the system.log which covers the time period since the moment it worked till the moment you got this error (6/1/12 6:15:36)?

Thanks
Zsolt
Title: Re: Database Decryption Error
Post by: jacobsm on June 03, 2012, 07:54:41 AM
I rebooted and it seems to have helped. If it happens again I'll open up a ticket as requested.
Title: Re: Database Decryption Error
Post by: matuzalem on June 12, 2012, 01:57:30 PM
I have the same problem. this app has been very buggy for me from the start.
Title: Re: Database Decryption Error
Post by: zsolt on June 14, 2012, 02:14:25 PM
Hello Matuzalem,

Indeed, for few users it does not want to work nice, whereas for most of them it just works fine...
Plase try these steps:

- if you changed the initial master password to a new one, please change it back
- if you have enabled start on login, disable for this test
- try to restart Espionage
- try to reboot your Mac

please let me know if it helped.

Zsolt
Title: Re: Database Decryption Error
Post by: matuzalem on June 15, 2012, 05:29:01 AM
I had tried changing the Password before but the sparse disk wouldn't open, so I changed it back, copied the files out, deleted the entry and finally created a new one. At that point I had an encrypted folder that worked... but when I rebooted I got the error. Then I checked this forum, rebooted again (2nd time) and the problem was gone...

Since then I've rebooted 3 or 4 times, upgraded to Mountain Lion (DP4) and it still works. :D

Thanks for replying,

Matu
Title: Re: Database Decryption Error
Post by: zsolt on June 15, 2012, 11:56:25 AM
Hello Matu,
thanks for update, it seems we have some bug lurking around, I hope devs will figure it out soon, I guess it must be an interaction of Espionage with OS and some timing issue....

Thanks again,
Zsolt
Title: Re: Database Decryption Error
Post by: hermo on June 21, 2012, 02:32:18 AM
I seem to be having the same problem. Espionage 3 has been working just fine until today when I started getting the same scryptdec_buf related errors too.
I tried rebooting and restoring a backup of the database to no avail.

21.6.2012 12.25.45,598 Espionage: ERROR (-[NSData(TECrypto) decrypt:]:131): scryptdec_buf returned: 9
21.6.2012 12.25.45,599 Espionage: ERROR (+[DBSubdb subdbWithData:master:pass:error:]:45): failed because: !decrypted
Title: Re: Database Decryption Error
Post by: hermo on June 21, 2012, 07:20:35 AM
An update:
After getting home (and sleeping my MBP for a while) Espionage opened the encrypted folder again without any problems.
Title: Re: Database Decryption Error
Post by: zsolt on June 21, 2012, 02:21:56 PM
I do not like problems which go away by themselves as they usually come back with "friends", but so far so good, let me know if it chokes again.
Thanks for input.
Zsolt
Title: Re: Database Decryption Error
Post by: pighair on September 21, 2012, 09:26:30 AM
I experience this issue so often and when it occurs I should logout and login to solve it.
It's very annoying every time I got this error message I should close all my working windows.
 
Following messages are from my system log.

12. 9. 22. 오전 1:24:02.656 Espionage[536]: ERROR (-[NSData(TECrypto) decrypt:]:131): scryptdec_buf returned: 9
12. 9. 22. 오전 1:24:02.656 Espionage[536]: ERROR (+[DBSubdb subdbWithData:master:pass:error:]:45): failed because: !decrypted

Please find cause and fix it permanently.
Title: Re: Database Decryption Error
Post by: zsolt on September 22, 2012, 11:52:03 AM
Hello, can you please download the patches application version from this version:
http://www.taoeffect.com/other/Espionag ... 9-fix1.zip (http://www.taoeffect.com/other/Espionage3.0.2-error9-fix1.zip)

give it a try and let me know if it fixed the problem,

Thanks
Zsolt
Title: Re: Database Decryption Error
Post by: pighair on September 23, 2012, 08:17:19 AM
I installed the patch.
I'll report if I experience same issue again.
No update from me means no replication of the issue.

Thanks.
Title: Re: Database Decryption Error
Post by: zsolt on September 23, 2012, 11:39:18 AM
Thanks for letting me know.
Rgds
Zsolt