Skip to content

The instructions lead to non-existent password in KeyChain #1

Description

@Motti-Shneor

Hi. I'm not a Java developer, but was able to follow and build (hopefully correctly) your utility.

However, the "PASSWORD" parameter should be provided as a "32 byte hexa number" taken from my keychain.

However, in my keychain there's but one password that seems appropriate --- it's name is "Safari Forms AutoFill Encryption Key" and when I unlock it, the value is NOT hexadecimal: more like "TwVV8s/2nEgXHR1ecJOZww==" (I've made some char changes to keep my password safe).

And now the tool fails with this error:

java -jar target/decrypt.safari.formvalues-1.0-SNAPSHOT-jar-with-dependencies.jar TwVV8s/2nEgXHR1ecJOZww== ~/Library/Safari/Form\ Values ~/Desktop/FormValues.plist
[+] Generating decryption key from password
Exception in thread "main" org.apache.commons.codec.DecoderException: Illegal hexadecimal character T at index 0
at org.apache.commons.codec.binary.Hex.toDigit(Hex.java:286)
at org.apache.commons.codec.binary.Hex.decodeHex(Hex.java:106)
at org.apache.commons.codec.binary.Hex.decodeHex(Hex.java:80)
at com.flo354.decrypt.safari.formvalues.FormValueDecryptor.derivePassword(FormValueDecryptor.java:28)
at com.flo354.decrypt.safari.formvalues.FormValueDecryptor.main(FormValueDecryptor.java:49)
#8: ~/Downloads/SafariFormValuesDecryptor-master >

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions