Comments (2)
Per: https://docs.microsoft.com/en-us/windows/desktop/api/wincrypt/nf-wincrypt-cryptacquirecontexta
NTE_BAD_KEYSET
The key container could not be opened. A common cause of this error is that the key
container does not exist. To create a key container, call CryptAcquireContext using
the CRYPT_NEWKEYSET flag. This error code can also indicate that access to an existing
key container is denied. Access rights to the container can be granted by the key set
creator by using CryptSetProvParam.
Adding CRYPT_NEWKEYSET for the first call to CryptAcquireContext solves the issue.
from libcaes.
from libcaes.
Related Issues (16)
- Improve wincrypt support HOT 1
- Remove WinCrypt support
- Fix test failing with vsdebug build HOT 1
- Print OpenSSL error information
- Unable to build on Mac OS Mojave HOT 25
- libcrypto EVP XTS functions available but not used? HOT 2
- Add openssl 3.0.0 support HOT 4
- Unable to build source outside of source tree HOT 2
- Unable to override python interpreter HOT 4
- AES CCM implementation seems to different / non-compliant than others HOT 7
- Add python support for mingw and cygwin tests or otherwise skip tests
- Fix Visual Studio tests failing to build Python module HOT 1
- Fix asan tests failing on Python binding HOT 1
- test script for "types" is missing HOT 11
- Determine why vs2010 AppVeyor test target stalls HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libcaes.