RE: Whether a key container is persist
- From: lelteto <lelteto@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 6 Feb 2008 10:06:06 -0800
Unless you specify CRYPT_VERIFYCONTEXT the container with CRYPT_NEWKEYSET
remains in the system. (Until you explicitly delete it with
CRYPT_DELETEKEYSET). You can open the same container again using the SAME
container name.
As for same / other application use: more important is the logged-in USER.
If the container was created with CRYPT_MACHINE_KEYSET flag, any user
(application) can open it - of course, the machine keyset flag needs to be
set each time. Otherwise only the same user which created the container can
open it.
Laszlo Elteto
SafeNet, Inc.
"Arsalan Ahmad" wrote:
Hello all,.
Could anyone please confirm whether a new key container created through
CryptAcquireContext() by specifying a random key container name (could be a
UUID) and specifying CRYPT_NEWKEYSET remains persist even if the application
exits (and even system reboots). ?
And is it possible to acquire handle to same key container from some other
application and use the keys inside it which were generated by the previous
application?
Thanks,
Arsalan
- Follow-Ups:
- Re: Whether a key container is persist
- From: Arsalan Ahmad
- Re: Whether a key container is persist
- References:
- Whether a key container is persist
- From: Arsalan Ahmad
- Whether a key container is persist
- Prev by Date: Re: How to add a user to a group and programatically see that in its token
- Next by Date: Re: How to add a user to a group and programatically see that in i
- Previous by thread: Whether a key container is persist
- Next by thread: Re: Whether a key container is persist
- Index(es):
Relevant Pages
|