Re: Importing an OpenPGP keyring to Cryptlib
Lahiru Dissanayake <[email protected]> Sun, 17 Feb 2013 13:32:02 +0800
| Newsgroups | gmane.comp.encryption.cryptlib |
|---|---|
| Message-ID | <CAHeAcfBLWgcvykQ4Sn_ABH0MDBnHTDFyHTcJoxOwczTHB1V_Vg@mail.gmail.com> |
Ok then, how can I create a *private keyring* that can be imported to Cryptlib? As I mentioned earlier, the key bytes are generated from PGPPrivateKey.getEncoded() method in Bouncy Castle library in an existing system. I've attached such a (private) key file with a user "David" and passphrase "password". When I try to load this to Cryptib using cryptKeysetOpen() method, I get the error code -43 (CRYPT_ERROR_NOTFOUND). However, GPG can import this file to get the keys. Thanks, Lahiru _______________________________________________ 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.
newsecret.bin
(application/octet-stream, 1.2 KB) - not displayed