DPAPI binaries on @azure/msal-node-extensions do not work on Windows, on Node 15
See original GitHub issueLibrary
-
@azure/msal-node-extensions@1.0.0-alpha.6
Description
If one installs @azure/msal-node-extensions@1.0.0-alpha.6
on Windows, using Node 15, the FilePersistenceWithDataProtection class (that uses the DPAPI binaries) throws when one attempts to use it.
Error Message
Uncaught PersistenceError: DPAPIEncryptedFileError: Encryption/Decryption failed. Error code: 87
Identity Provider
- Azure AD
Browsers/Environment
Node v15.12.0 on Microsoft Windows 10 Pro.
Source
- Internal (Microsoft)
- Customer request
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
@azure/msal-node-extensions - npm package | Snyk
Learn more about @azure/msal-node-extensions: package health score, popularity, ... No known security issues ... Windows - DPAPI is used for encryption.
Read more >Set up NodeJS on native Windows - Microsoft Learn
A guide to help you get your Node.js development environment set up directly on Windows.
Read more >DataProtectionDecryptor - Decrypt DPAPI (Data Protection API ...
DataProtectionDecryptor is a powerful tool for Windows that allows you to decrypt passwords and other information encrypted by the DPAPI (Data Protection ...
Read more >Node v14.15.1 (LTS)
This is a security release. Vulnerabilities fixed: CVE-2020-8277: Denial of Service through DNS request (High). A Node.js application that ...
Read more >windows-build-tools - npm
This package has been deprecated. Author message: Node.js now includes build tools for Windows. You probably no longer need this tool.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@sameerag This issue, along with the other Node 8 issue https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/3337, blocks the Azure.Identity Client library for Javascript release we’re planning for May.
Can this be prioritized higher?
Thank you @sadasant. Great find. Follow up: Should we change our sample to reflect these changes? Can you please let us know if you can contribute a doc to help the community?
We would like to highlight this for anyone relevant.