Re: import PGP keys into keyset

Johannes Poehlmann <[email protected]>
Newsgroups gmane.comp.encryption.cryptlib
Message-ID <[email protected]>
Peter Gutmann wrote
> Johannes Poehlmann <[email protected]> writes:
> 
>> Is ist possible to create a empty keyset and afterwards import one/serveral
>> PGP secret/public keys which are stored in memory buffer/s ?
>>
>> Is it possible to create a keyset without a correspondig file ?
> 
> No, because it needs some sort of backing store to make the results persistent
> (the whole point of a keyset is to store the results and make them
> persistent).  You could make it in-memory only if you want by adding your own
> filesystem (or whatever) layer via io/stream.c, it's currently targeted at
> memory streams, file streams, and network streams, you'd have to provide your
> own implementation of whatever it is you're trying to do.
> 
> Why are you trying to do this, and what are you actually trying to do?
> 
> Peter.

Hi Peter,

The root problem of my question was:

if
	I have a public or secret key exported from gnupg or
        pgp in binary format into a file,
how
        can I use this key with cryptlib ?



Johannes

-- 
Johannes Pöhlmann
software developer
[email protected]
IZT GmbH, Erlangen, Germany

Rechtsform und Sitz: GmbH, D-91058 Erlangen
Registergericht: AG Fürth, HRB 6716
Geschäftsführung: Rainer Perthold

Wie Sie wissen, können über das Internet versandte eMails leicht unter
fremden Namen erstellt oder manipuliert werden. Aus diesem Grund bitten
wir um Verständnis dafür, dass wir zu Ihrem und unserem Schutz die
rechtliche Verbindlichkeit der vorstehenden Erklärung ausschließen,
soweit wir mit Ihnen keine andere Vereinbarung getroffen haben.

Diese E-Mail kann vertrauliche Informationen enthalten. Wenn Sie
nicht der richtige Adressat sind oder diese E-Mail irrtümlich
erhalten haben, informieren Sie bitte sofort den Absender
und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie
die unbefugte Weitergabe dieser E-Mail oder von Teilen dieser
E-Mail ist nicht gestattet.

The information contained in this message and any attachments
is intended only for the use of the individual or entity to
which it is addressed and may contain information that is
privileged, confidential and exempt from disclosure under
applicable law. If you have received this message in error,
you are prohibited from copying, distributing, or using the
information. Please contact the sender immediately by return
e-mail and delete the original message.

_______________________________________________
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.