Re: Key Management

Peter Gutmann <[email protected]> Thu, 25 Sep 2014 13:54:01 +1200
Newsgroups gmane.comp.encryption.cryptlib
Message-ID <[email protected]>
TM <[email protected]> writes:

>So it is no possibility to pass key.p15 without to write it temporary to some
>disk...

Both PGP keyrings and PKCS #15 keysets are effectively database formats, by
storing the file inside a database you're storing a database inside a database
(just out of interest, why are you doing this?).  If you really want to do
this then you need to either write them to a temporary file so they can be
accessed normally or modify cryptlib so it'll read the data from an in-memory
buffer. The keyring-read code has support for this (i.e. reading from an in-
memory buffer), you'd just need to add your own modifications to allow the
block of memory with the keyset to be accessed this way.

Peter.


_______________________________________________
Cryptlib mailing list
[email protected] via Mail: [email protected]
Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/
http://news.gmane.org/gmane.comp.encryption.cryptlib
Posts from non-subscribed addresses are blocked to prevent spam, please
subscribe in order to post messages.