Skip to content

DPAPI or something similar #8207

Open
Open
@jssuttles

Description

Issue Type

Before opening an issue, please search and see if it has already been raised.

  • Bug Report

  • Feature Request

  • Successfully reproduced against the latest version of NW.js?

Please use our mailing list or Gitter chatroom to ask questions. The issue tracker is only for bugs and feature requests, in English only. Please note that issues without a repro or code snippet are less likely to be resolved.

Current/Missing Behavior

I'm looking for something that will be able to encrypt and decrypt data for a machine. I see that electron has something like https://www.electronjs.org/docs/latest/api/safe-storage. I've tried incorporating keytar (which is archived) or @azure/msal-node-extensions (https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/extensions/msal-node-extensions). The latter was promising, but I couldn't get nwjs to run it. I was able to get it running in a node.js environment, but when I tried to get it to run using nwjs, it would stall out. When I tried to create a fork in nwjs into node.js, it also failed to load.

Expected/Proposed Behavior

There is a way to encrypt and decrypt data using something like DPAPI for windows.

Additional Info

  • Operating System: Windows 11 Pro
  • NW.js Version: 0.89.0
  • Repro Link:
  • Code snippet:
  • Crash report:

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions