From: Tobias S. <to...@kn...> - 2007-08-27 10:34:00
|
> in = new FileInputStream("bob-public.pgp.asc"); [...] > When the content of this file is a key generated by crytix, it works. But > when I put in the file a simple string "This is my public key" as a key, the > error I get is: [...] > Do you know why? "This is my public key" is not a PGP key, obviously. I don't know how much you know about encryption but it sounds like you're confusing the actual key with the passphrase. Anyway, as the "latest" Cryptix release is more than two years old, you're probably riding a dead horse. We switched to BC quite a while ago (http://www.bouncycastle.org/) and never looked back. It's got way better documentation/examples and is actively developed. Tobias |