Skip to content

Conversation

@rtsao
Copy link

@rtsao rtsao commented Oct 2, 2025

@napi-rs/keyring exposes an entry point that is API compatible with keytar.

@napi-rs/keyring is preferable to keytar because it uses NAPI so prebuilt binaries work for any Node.js version. This plus the lack of libsecret dependencies makes this package much easier to install.

@rtsao
Copy link
Author

rtsao commented Oct 2, 2025

@microsoft-github-policy-service agree

@xiaoxiangmoe
Copy link

xiaoxiangmoe commented Oct 6, 2025

This PR is great. A series of nixos packages cannot be compiled due to C++ compilation errors of keytar. (after nix upgrade clang_19 to clang_21)

@commiterate
Copy link

commiterate commented Oct 8, 2025

@xiaoxiangmoe On the Nixpkgs side, we'll have to pin to Clang 20 for awhile because some of the npm packages in Nixpkgs pull @vscode/vsce@2.* (e.g. Azurite is still using v2. I have a PR to move them from vsce to @vscode/vsce at least but I don't know if they need more changes to switch to v3).

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants