Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Incompatibility with JNKeychain #130

Closed

Description

@idoodler

I am working on converting a Cordova project to an Electron project. The project used JNKeychain to save credentials to the macOS Keychain.

JNKeychain happens to save credentials via [NSKeyedArchiver archivedDataWithRootObject:] which results in a bplist (Binary Plist) in the Keychain. I am unable to read and interpret the data with simple-plist which supports bplist files.

Can anyone point me in the right direction on how to interpret the bplist data and convert it into JSON?

Thanks

Activity

  1. shiftkey commented on Jan 21, 2019

    @shiftkey
    Contributor

    I'm not familiar with using bplist and unfortunately cannot help. Maybe one of the other plist-parsing projects knows more about this.

  2. idoodler commented on Jan 22, 2019

    @idoodler
    Author

    @shiftkey An option for getting binary data would fix this issue. node-keytar only returns UTF-8 data.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions