Re: bcrypt to read.

44 views
Skip to first unread message

Roger Tawa

unread,
Oct 18, 2011, 2:30:52 PM10/18/11
to ${spencer}, secrets-for-android
Hi Spencer,

I am not familiar with the bcrypt desktop applications, so its pretty
safe to assume nothing was done to ensure compatibility. Is it a JAva
app?

You can see how secrets encrypts and saves the data here:

http://www.google.com/codesearch#UM8J84NpMF8/trunk/src/net/tawacentral/roger/secrets/FileUtils.java&q=writeSecrets%20package:http://secrets-for-android%5C.googlecode%5C.com&l=365

Thanks,
Roger

-

On Tue, Oct 18, 2011 at 10:57, ${spencer} <spen...@gmail.com> wrote:
> Hello - I've tried to decrypt the 'secrets' backup file using the
> bcrypt application that is available on desktop machines.
>
> Is the secrets file not in the same format as files encrypted by
> bcrypt? Or am I being silly?
>
>

${spencer}

unread,
Oct 19, 2011, 5:09:49 AM10/19/11
to secrets-for-android
I used the original C implementation: http://bcrypt.sourceforge.net/.

I simply tried to use the program (command line) to decrypt the
secrets file.
It comes back with 'Invalid encryption key for file'

So, first of all apologies for being vague with the first question. I
think my question is the pass-phrase, is it changed in some way before
being used in the bcrypt library.
I suppose the other reason may be a ascii - unicode issue. I presume
that android uses Unicode universally?

On Oct 18, 7:30 pm, Roger Tawa <roge...@google.com> wrote:
> Hi Spencer,
>
> I am not familiar with the bcrypt desktop applications, so its pretty
> safe to assume nothing was done to ensure compatibility.  Is it a JAva
> app?
>
> You can see how secrets encrypts and saves the data here:
>
> http://www.google.com/codesearch#UM8J84NpMF8/trunk/src/net/tawacentra...

${spencer}

unread,
Oct 18, 2011, 10:57:01 AM10/18/11
to secrets-for-android

Roger Tawa █ ♣ █

unread,
Oct 19, 2011, 5:04:53 PM10/19/11
to secrets-f...@googlegroups.com

Hi Spencer,

I suspect it will not work. Secrets encrypts a Java serialized object stream, so a C program won't be able to read it unless it does some fancy tricks.

--
You received this message because you are subscribed to the Google Groups "secrets-for-android" group.
To post to this group, send email to secrets-f...@googlegroups.com.
To unsubscribe from this group, send email to secrets-for-and...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/secrets-for-android?hl=en.

Reply all
Reply to author
Forward
0 new messages