Adds a "well-known prefix" and hex encodes any incoming multiline string sent to Set(). Updates Get() to only decode when the well-known prefix is present.
Warning: This implementation will corrupt any existing multiline strings already in the keychain! On the plus side, it should un-corrupt any non-multiline strings that are currently being corrupted by #36.
Fixes #36
Adds a "well-known prefix" and hex encodes any incoming multiline string sent to
Set()
. UpdatesGet()
to only decode when the well-known prefix is present.Warning: This implementation will corrupt any existing multiline strings already in the keychain! On the plus side, it should un-corrupt any non-multiline strings that are currently being corrupted by #36.
Kudos to @jaroslaw-bochniak for the tests.