You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(15) |
Nov
(29) |
Dec
(5) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(88) |
Feb
(75) |
Mar
(86) |
Apr
(81) |
May
(47) |
Jun
(36) |
Jul
(87) |
Aug
(61) |
Sep
(37) |
Oct
(36) |
Nov
(18) |
Dec
(4) |
2004 |
Jan
(19) |
Feb
(26) |
Mar
(5) |
Apr
(10) |
May
|
Jun
(2) |
Jul
(14) |
Aug
(21) |
Sep
(8) |
Oct
(51) |
Nov
(20) |
Dec
(11) |
2005 |
Jan
(5) |
Feb
(5) |
Mar
(25) |
Apr
(48) |
May
(6) |
Jun
(29) |
Jul
(42) |
Aug
(25) |
Sep
(11) |
Oct
(42) |
Nov
(43) |
Dec
(52) |
2006 |
Jan
(39) |
Feb
(21) |
Mar
(42) |
Apr
(25) |
May
(22) |
Jun
(9) |
Jul
(4) |
Aug
(7) |
Sep
(3) |
Oct
(7) |
Nov
(11) |
Dec
(8) |
2007 |
Jan
(1) |
Feb
(5) |
Mar
(11) |
Apr
(2) |
May
(5) |
Jun
(9) |
Jul
(1) |
Aug
(9) |
Sep
|
Oct
(8) |
Nov
(1) |
Dec
(1) |
2008 |
Jan
(2) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
(1) |
Sep
(1) |
Oct
|
Nov
(5) |
Dec
|
2009 |
Jan
(8) |
Feb
|
Mar
(1) |
Apr
(5) |
May
(4) |
Jun
(1) |
Jul
(4) |
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
2010 |
Jan
(2) |
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(10) |
Nov
|
Dec
|
2011 |
Jan
(1) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
From: Jeroen C. v. G. <je...@va...> - 2003-01-07 17:26:58
|
Janos, I'm not sure which version of the JCE you are using but the second =20 error you mention (JDK 1.4) should have been fixed with the latest JCE =20= release. Get it from the website at http://www.cryptix.org . -J On Tuesday, Jan 7, 2003, at 07:56 US/Eastern, SIMON Janos Gyorgy wrote: > Dear Maintainer! > > I got some problem using Cryptix JCE. I use jdk1.3.1_01 with the jce =20= > library of j2re1.4.1_01. > I tried your RunSamples.java with the modification of testing some of =20= > the ciphers (not the hash functions). (the modified file is attached) > The following error messages were yielded when Square was tested, but =20= > any of the other ones would generate a similar error. > > ERROR MESSAGES: BEGIN > > E:\Program Files\Programming\jdk1.3.1_01\bin\javaw -classpath =20 > "D:\Redoak\Prg\Java\Samples\jce\classes; > D:\Redoak\Prg\Java\AES\jce\bin\cryptix-jce-api.jar; > D:\Redoak\Prg\Java\AES\jce\bin\cryptix-jcecompat.jar; > D:\Redoak\Prg\Java\AES\jce\bin\cryptix-jce-provider.jar; > D:\Redoak\Prg\Java\AES\jce\bin\cryptix-jce-tests.jar; > E:\Program Files\Programming\j2re1.4.1_01\lib\jce.jar; > E:\Program = Files\Programming\jdk1.3.1_01\demo\jfc\Java2D\Java2Demo.jar; > E:\Program Files\Programming\jdk1.3.1_01\jre\lib\i18n.jar; > E:\Program Files\Programming\jdk1.3.1_01\jre\lib\jaws.jar; > E:\Program Files\Programming\jdk1.3.1_01\jre\lib\rt.jar; > E:\Program Files\Programming\jdk1.3.1_01\jre\lib\sunrsasign.jar; > E:\Program Files\Programming\jdk1.3.1_01\lib\dt.jar; > E:\Program Files\Programming\jdk1.3.1_01\lib\htmlconverter.jar; > E:\Program Files\Programming\jdk1.3.1_01\lib\tools.jar" > cryptix.jce.examples.RunSamples sms.txt > > Provider added at position: 3 > *************** > New cipher object! > Using:Square/ECB/None > Using keylength: 128 bits. > Blocksize: 128 bits. > ******** BEGIN file encryption! ******* > java.lang.RuntimeException: PANIC: Internal error! > =A0=A0=A0=A0=A0=A0=A0=A0at =20 > javax.crypto.CipherOutputStream.close(CipherOutputStream.java:79) > =A0=A0=A0=A0=A0=A0=A0=A0at =20 > = cryptix.jce.examples.FileDEncryption.ciphering(FileDEncryption.java:165=20= > ) > =A0=A0=A0=A0=A0=A0=A0=A0at =20 > cryptix.jce.examples.FileDEncryption.go(FileDEncryption.java:257) > =A0=A0=A0=A0=A0=A0=A0=A0at =20 > cryptix.jce.examples.SymmetricCipher.run(SymmetricCipher.java:156) > =A0=A0=A0=A0=A0=A0=A0=A0at = cryptix.jce.examples.RunSamples.main(RunSamples.java:163) > Exception in thread "main" > > ERROR MESSAGES: END > > I even tried to use j2sdk1.4.1 with the same CLASSPATH which yielded =20= > the followings: > > java.lang.SecurityException: The provider CryptixCrypto may not be =20 > signed by a trusted party > =A0=A0=A0=A0=A0=A0=A0=A0at javax.crypto.SunJCE_b.a(DashoA6275) > =A0=A0=A0=A0=A0=A0=A0=A0at javax.crypto.Cipher.a(DashoA6275) > =A0=A0=A0=A0=A0=A0=A0=A0at javax.crypto.Cipher.getInstance(DashoA6275) > =A0=A0=A0=A0=A0=A0=A0=A0at =20 > cryptix.jce.examples.SymmetricCipher.run(SymmetricCipher.java:64) > =A0=A0=A0=A0=A0=A0=A0=A0at = cryptix.jce.examples.RunSamples.main(RunSamples.java:163) > > =A0=A0=A0=A0=A0=A0=A0=A0Exception in thread "main" > > If You have any solutions, please help me! > Thank you for your help! > > > > > Best regards, > > J=E1nos > > ----------------------------------------------- > SIMON J=E1nos Gy=F6rgy > Tel: +36 30 3922259 ill. +36 1 321 4908 > re...@fr... > <RunSamples.java>= |
From: James A. <jd...@ks...> - 2003-01-07 15:55:36
|
I'm trying to do some public/private key encryption, however I'm coming across a problem. I need to get the byte[] that .getEncoded() returns. I am using an example that is slightly modified from the Examples provided by Cryptix. <pre> public static void createKeys() throws Exception{ algo = "RSA"; KEY_SIZE = 1024; KeyPairGenerator kpg = KeyPairGenerator.getInstance(algo,"CryptixCrypto"); kpg.initialize(KEY_SIZE); KeyPair kp = kpg.generateKeyPair(); System.out.println("The Keys: "); RSAPrivateKey prk = (RSAPrivateKey)kp.getPrivate(); System.out.println(new String(prk.getEncoded())); // !--Error here RSAPublicKey puk = (RSAPublicKey)kp.getPublic(); System.out.println(new String(puk.getEncoded())); algo = algo + "/ECB/PKCS#1"; c = Cipher.getInstance(algo,"CryptixCrypto"); d = Cipher.getInstance(algo,"CryptixCrypto"); c.init(1, puk); d.init(2, prk); } </pre> When I try to using the getEncoded method, i get this error: <pre> Exception in thread "main" java.lang.RuntimeException: NYI at java.lang.Throwable.fillInStackTrace(Native Method) at java.lang.Throwable.fillInStackTrace(Compiled Code) at java.lang.Throwable.<init>(Compiled Code) at java.lang.Exception.<init>(Exception.java:42) at java.lang.RuntimeException.<init>(RuntimeException.java:47) at cryptix.jce.provider.rsa.RSAPrivateCrtKeyCryptix.getEncoded(RSAPrivat eCrtKeyCryptix.java:140) at PKI.createKeys(PKI.java:47) at PKI.main(PKI.java:25) </pre> I've been told that the error "NYI" means not yet implemented. Am I doing something wrong? or is the JCE incomplete? If I take out the "System.out.println(new String(prk.getEncoded()));" the program works fine. Any help? |
From: Alsbih, A. <al...@mi...> - 2003-01-07 14:15:25
|
Hi I have used the old Snaps with Java 1.3 without any problems Now I would use the new Snap "cryptix-jce-20030102-snap" with "cryptix-openpgp-20020719-snap" with Java 1.4.1 but I get an error when I try to run any program. I have used the Encrypt example with a key that was created by gnupg 1.2.1 in asc. Format. The compilation works without any error but if I want to run it I get : " java.lang.UnsupportedOperationException at javax.crypto.CipherSpi.engineGetKeySize(DashoA6275) at javax.crypto.Cipher.init(DashoA6275) at cryptix.openpgp.algorithm.PGPElGamal.encrypt(PGPElGamal.java:514) at cryptix.openpgp.packet.PGPPublicKeyEncryptedSessionKeyPacket.encrypt(PGP PublicKeyEncryptedSessionKeyPacket.java:153) at cryptix.openpgp.provider.PGPEncryptedMessageBuilder.engineBuild(PGPEncry ptedMessageBuilder.java:221) at cryptix.message.EncryptedMessageBuilder.build(EncryptedMessageBuilder.ja va:253) at Encrypt.main(Encrypt.java:129) Exception in thread "main"=20 Process Encrypt exited abnormally with code" I hope you can help me ! |
From: Jeroen C. v. G. <je...@va...> - 2003-01-06 20:15:32
|
On Monday, Jan 6, 2003, at 14:45 US/Eastern, James Asher wrote: > I was wondering how (if it is possible at all) I can get the String > representations of the private and public keys from class cipher. Is > there a method I can call or something? Hmm. There is no such thing as a 'String representation' of keys. Symmetric keys are strings of bits (usually multiples of 8 though) and asymmetric keys tend to be tuples of a few large integers. There exists no single universal String representation and therefore appropriate conversion methods cannot be provided. That said, you can usually write a a key dump routine quite easily. For example, if you are dealing with an RSAPrivateKey, you can obtain the BigIntegers and call toString on those. Another approach is to call the (broken API design alert!) getEncoded method which is provided in every key. This results in a byte[] which is easily converted to, say, a hex string. The contents of the byte[] are -yuck- implementation dependent and -of course- there is no way to support multiple different encoding schemes of a single key with this interface. HTH, -J |
From: James A. <jd...@ks...> - 2003-01-06 19:46:24
|
I was wondering how (if it is possible at all) I can get the String representations of the private and public keys from class cipher. Is there a method I can call or something? |
From: Jeroen C. v. G. <je...@va...> - 2003-01-04 17:43:07
|
On Friday, Jan 3, 2003, at 14:20 US/Eastern, Brian E. Pangburn wrote: > Just wanted to let others on the list know that using > the new signed 1.4-compatible JCE, I successfully > decrypted some PGP files using Cryptix OpenPGP under > Sun's Windows JDK 1.4. > > Happy New Year indeed. Thanks for the feedback! -J |
From: Edwin W. <ed...@wo...> - 2003-01-03 20:55:23
|
Rudy Vissers <rud...@su...> wrote: > I passed "hours" to find why SignedMessage.verify always give me the > following > > Exception in thread "main" java.lang.IllegalStateException: This is not a > secret key at Try downloading the newest snapshot from the homepage and let me know if this doesn't solve the problem. Edwin |
From: Brian E. P. <bep...@ya...> - 2003-01-03 19:20:59
|
Just wanted to let others on the list know that using the new signed 1.4-compatible JCE, I successfully decrypted some PGP files using Cryptix OpenPGP under Sun's Windows JDK 1.4. Happy New Year indeed. Brian E. Pangburn __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
From: Rudy V. <rud...@su...> - 2003-01-03 14:52:59
|
Hi, I passed "hours" to find why SignedMessage.verify always give me the following Exception in thread "main" java.lang.IllegalStateException: This is not a secret key at cryptix.openpgp.algorithm.PGPDSA.initSign(PGPDSA.java:367) at cryptix.openpgp.provider.PGPSignedMessageImpl.verify(PGPSignedMessageImpl.java:164) at cryptix.openpgp.examples.MyClearSign.main(MyClearSign.java:266) Nothing did ! I tried to use the 2 following calls either a KeyBundle or a pubkey abstract boolean verify(KeyBundle pubkey) Verify if this message was correctly signed by a particular keybundle. abstract boolean verify(java.security.PublicKey pubkey) Verify if this message was correctly signed by a particular public key. the 2 calls gave the same error................... You can find "attached" the code I used (from ClearSign). What I can tell you cryptix.openpgp.provider.PGPSignedMessageImpl.verify calls cryptix.openpgp.algorithm.PGPDSA.initSign and in PGPDSA.initSign public void initSign(int hashID, PGPAlgorithmFactory factory) { try { if (! (factory.getHashAlgorithmString(hashID).equals("SHA-1") || factory.getHashAlgorithmString(hashID).equals("SHA1"))) { // ### FIXME throw new IllegalArgumentException("Only SHA-1 is supported for " + "signatures by DSA keys."); } if(x == null) { throw new IllegalStateException("This is not a secret key"); } sig.initSign(new PGPDSAPrivateKey()); } catch (InvalidKeyException ike) { throw new IllegalStateException("InvalidKeyException"); } } x is null, thus not initialised and I don't understand why... Help is very much appreciated, Rudy Vissers Sun Java Center Consultant Belgium This is the log from the execution C:\Java\cryptix-openpgp-20010829-snap\examples>java cryptix.openpgp.examples.MyClearSign compteur de cle publique--->1 publickey getAlgorithm --->Signing/DSA publickey getFormat--->OpenPGP cryptix.openpgp.PGPPrivateKey@283b8a privatekey getAlgorithm --->Signing/DSA privatekey getFormat--->OpenPGP OpenPGP Exception in thread "main" java.lang.IllegalStateException: This is not a secret key at cryptix.openpgp.algorithm.PGPDSA.initSign(PGPDSA.java:367) at cryptix.openpgp.provider.PGPSignedMessageImpl.verify(PGPSignedMessageImpl.java:164) at cryptix.openpgp.examples.MyClearSign.main(MyClearSign.java:266) C:\Java\cryptix-openpgp-20010829-snap\examples> I check 10 times and it is a secret key !!! What happened ? I used JAVA_HOME=C:\jdk1.3.1_06 CLASSPATH=.;;C:\Java\cryptix-openpgp-20010829-snap\cryptix-openpgp-provider.jar; C:\Java\cryptix-openpgp-20010829-snap\cryptix-message-api.jar;C:\Java\cryptix-openpgp-20010829-snap\cryptix-pki-api.jar; C:\Java\cryptix-openpgp-20010829-snap\certpath-compat-api.jar; C:\Java\cryptix-jce-20011010-snap\bin\cryptix-jce-provider.jar;C:\Java\cryptix-jce-20011010-snap\bin\cryptix-jce-api.jar; Thanks |
From: Edwin W. <ed...@wo...> - 2003-01-03 07:36:18
|
David Law <Dav...@ap...> wrote: > java.lang.securityException: The provider xxx may not be signed by a > trusted party > > As far as I can make out from the forum at javasoft this is because the > jar is not signed. > > Q. Is that really true? Unfortunately that is true. Blame Sun and the US government. There are three solutions: 1. Go back to JDK 1.3 (you are probably using JDK 1.4 now). 2. Remove Sun's JCE (usually that just means removing one jar file). 3. Use the new snapshot uploaded by Jeroen (preferred, especially for new applications as cryptix 3.x will not be maintained for a long time any more). Edwin |
From: Edwin W. <ed...@wo...> - 2003-01-03 07:33:42
|
Roger Whitbread <ro...@pr...> wrote: > hrm, would it be possible to sign the cryptix 3.1.3/3.2.0 also? This > might solve security problems on mac os X. Roger. It has been a while since I looked into it, but if I remember correctly this isn't possible. Signing of course is not the problem, but getting cryptix 3.x to work in a JCE 1.2 environment is. The only way to make it work is to remove Sun's JCE, which also removes the need for a signed provider. Edwin |
From: Jeroen v. G. <je...@va...> - 2003-01-03 00:56:26
|
Hmm, Good question. I doubt it could help but will ask Edwin to see what he thinks... -J On Thursday, Jan 2, 2003, at 19:16 US/Eastern, Roger Whitbread wrote: > hrm, would it be possible to sign the cryptix 3.1.3/3.2.0 also? This > might solve security problems on mac os X. > Roger. > > -----Original Message----- > From: cry...@li... > [mailto:cry...@li...]On Behalf Of Jeroen > C. > van Gelderen > Sent: Friday, 3 January 2003 11:09 AM > To: Cry...@li... > Subject: [Cryptix-users] Signed 1.4-compatible JCE > > > > I've just uploaded a new JCE snapshot with a signed CryptixCrypto > provider. I've tested it and found that it works on the Sun Linux JDK > 1.4. > > http://www.cryptix.org/dist/cryptix-jce-20030102-snap.zip > > Happy New Year, > -J > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Cryptix-Users mailing list > Cry...@li... > https://lists.sourceforge.net/lists/listinfo/cryptix-users > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Cryptix-Users mailing list > Cry...@li... > https://lists.sourceforge.net/lists/listinfo/cryptix-users |
From: Roger W. <ro...@pr...> - 2003-01-03 00:16:39
|
hrm, would it be possible to sign the cryptix 3.1.3/3.2.0 also? This might solve security problems on mac os X. Roger. -----Original Message----- From: cry...@li... [mailto:cry...@li...]On Behalf Of Jeroen C. van Gelderen Sent: Friday, 3 January 2003 11:09 AM To: Cry...@li... Subject: [Cryptix-users] Signed 1.4-compatible JCE I've just uploaded a new JCE snapshot with a signed CryptixCrypto provider. I've tested it and found that it works on the Sun Linux JDK 1.4. http://www.cryptix.org/dist/cryptix-jce-20030102-snap.zip Happy New Year, -J ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Cryptix-Users mailing list Cry...@li... https://lists.sourceforge.net/lists/listinfo/cryptix-users |
From: Jeroen C. v. G. <je...@va...> - 2003-01-03 00:08:41
|
I've just uploaded a new JCE snapshot with a signed CryptixCrypto provider. I've tested it and found that it works on the Sun Linux JDK 1.4. http://www.cryptix.org/dist/cryptix-jce-20030102-snap.zip Happy New Year, -J |
From: David L. <Dav...@ap...> - 2003-01-02 23:57:26
|
I've tried loading Cryptix JCE v1.2 & Cryptix 3 dynamically as documented. provider cp = new Cryptix(); // new CryptixCrypto in JCE v1.2 Security.addProvider(cp); cp.list(System.out); So far so good. Now creation of any Cipher e.g... Cipher cpp = Cipher.getInstance("Blowfish","Cryptix"); leads to... java.lang.securityException: The provider xxx may not be signed by a trusted party As far as I can make out from the forum at javasoft this is because the jar is not signed. Q. Is that really true? Q. If not, any idea what the problem might be? P.S. I'm using the NetBeans IDE |
From: syed h. <sy...@ho...> - 2002-12-25 17:06:09
|
Hello There I posted this message couple of day ago. Please help me if some one knows about alternate to SecretKey class. I have restriction to run the example and other codes under JDK1.1.8. Thanks in advance. Syed >From: "syed hussain" <sy...@ho...> >To: cry...@li... >Subject: [Cryptix-users] Class has been deprecated >Date: Mon, 23 Dec 2002 17:24:19 -0500 > >Hello There > >I am compiling one example "KeyGen" came with >cryptix32-20001002-r3.2.0-pgp in Domino server environments(JDK1.1.8). and >got error that >class cryptix.security.rsa.SecretKey has been deprecated. Does any one know >what is the alternated for this class? > >Syed > > > >_________________________________________________________________ >The new MSN 8: smart spam protection and 3 months FREE*. >http://join.msn.com/?page=features/junkmail&xAPID=42&PS=47575&PI=7324&DI=7474&SU= >http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_smartspamprotection_3mf > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Cryptix-Users mailing list >Cry...@li... >https://lists.sourceforge.net/lists/listinfo/cryptix-users _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 3 months FREE*. http://join.msn.com/?page=features/junkmail&xAPID=42&PS=47575&PI=7324&DI=7474&SU= http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_stopmorespam_3mf |
From: syed h. <sy...@ho...> - 2002-12-23 22:24:25
|
Hello There I am compiling one example "KeyGen" came with cryptix32-20001002-r3.2.0-pgp in Domino server environments. and got error that class cryptix.security.rsa.SecretKey has been deprecated. Does any one know what is the alternated for this class? Syed _________________________________________________________________ The new MSN 8: smart spam protection and 3 months FREE*. http://join.msn.com/?page=features/junkmail&xAPID=42&PS=47575&PI=7324&DI=7474&SU= http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_smartspamprotection_3mf |
From: Robert M. <rm...@md...> - 2002-12-18 18:55:56
|
Any update on when OpenPGP will work with Java 1.4? thanks! -- Robert D. Morse rm...@md... Key ID: F0533BB6 Finger Print: 7F07 D9CD 266F 29D4 3616 164D F055 6E4C F053 3BB6 |
From: Manuel N. <mn...@ud...> - 2002-12-18 18:49:55
|
hi !! i have a problem rsa and public and private key.. anobody have a example with this? help please!!! |
From: <fma...@bo...> - 2002-12-05 19:52:59
|
Valuable friends, i'm having problems with this code. The error occurs on the marked line because the plain text and cipher text block sizes are differents, but why they are differents? I don't understand. Can you help me? How can I resolve this? Have you a guide with examples about Cryptix? Thanks! [] /*Program*/ System.out.println("Gerando a chave...\n"); KeyPairGenerator kpg = KeyPairGenerator.getInstance("RSA", "Cryptix"); kpg.initialize(1024); KeyPair kp = kpg.generateKeyPair(); Cipher rsa = Cipher.getInstance("RSA", "Cryptix" ); System.out.println("Iniciando encriptacao...\n"); rsa.initEncrypt(kp.getPublic()); -> System.out.println("blocksize: " + rsa.blockSize()+"\n"); byte[] buffer = new byte[100]; byte[] otherbuffer = buffer; System.out.println("Efetuando encriptacao...\n"); /*Out*/ Gerando a chave... Iniciando encriptacao... xjava.security.IllegalBlockSizeException: blockSize() called when plaintext and ciphertext block sizes differ at xjava.security.Cipher.blockSize(Cipher.java:724) at RSAchico3.testEncryption(RSAchico3.java:131) at RSAchico3.engine(RSAchico3.java:42) at RSAchico3.main(RSAchico3.java:37) xjava.security.IllegalBlockSizeException: blockSize() called when plaintext and ciphertext block sizes differ |
From: James M. <ja...@sp...> - 2002-11-29 07:23:51
|
Hi folks, I was wondering if it's possible to use the cryptix openpgp implementation without registering it as a jce provider? I'd like to use it in an applet and the security restrictions around adding providers makes this difficult. Any ideas? -James ___________________________________________________ WireRimmed - Small business and non-profit technology services http://wirerimmed.com |
From: Alsbih, A. <al...@mi...> - 2002-11-28 08:59:18
|
Ladies and Gentlemen, unfortunately I have a problem with the cryptix = libraries!=20 We are not able to compile your examples, with the libraries you = provide.=20 We try to import keys from PGP and GnuPGP since two weeks, but this = neither works with keys in the RSA - RSA Legacy nor DH format. The program breaks always off at : EncryptedMessageBuilder emb =3D = EncryptedMessageBuilder.getInstance("OpenPGP"); With the following error : java.lang.RuntimeException: RSA algorithm not found. Provider problem? at cryptix.openpgp.algorithm.PGPRSA.encrypt(PGPRSA.java:521) at = cryptix.openpgp.packet.PGPPublicKeyEncryptedSessionKeyPacket.encrypt(PGPP= ublicKeyEncryptedSessionKeyPacket.java:153) at = cryptix.openpgp.provider.PGPEncryptedMessageBuilder.engineBuild(PGPEncryp= tedMessageBuilder.java:221) at = cryptix.message.EncryptedMessageBuilder.build(EncryptedMessageBuilder.jav= a:253) at pgpver.verschluesseln.main(verschluesseln.java:116) is this problem well-known by you? We have used Java 1.4.1. faithfully=20 Amir Alsbih ------------------------------------------- Amir Alsbih Universit=E4tsklinikum Freiburg Institut f=FCr Medizinische Informatik & Biometrie Stefan-Meier-Str. 26 = -- 79104 Freiburg i. Br. Tel.: +49 761 203 6721 |
From: Marcel M. <mar...@we...> - 2002-11-27 17:20:46
|
No I found the problem! All files where the size is more than 4096 inclusive FileName are not decryptable! Its a mistae in the Library! please help anybody Marcel -----Original Message----- From: cry...@li... [mailto:cry...@li...] On Behalf Of Chris Go Sent: Mittwoch, 27. November 2002 18:02 To: 'cry...@li...' Subject: RE: [Cryptix-users] Problems decrypting with Cryptix OpenPGP On the 2nd problem, I think it may be related to compression? I can decrypt short strings (i.e., 100 characters of text) but when it gets longer, I think PGP automatically compresses it. I tried to get the classname of the message object and it is NOT a compressed stream so I'm thinking it doesn't know that it's a compressed stream. Chris -----Original Message----- From: Marcel Mock To: 'Robert W. Wade' Cc: cry...@li... Sent: 11/27/02 7:10 AM Subject: RE: [Cryptix-users] Problems decrypting with Cryptix OpenPGP For your first problem I have a Solution! - write your message to an file - open a FileInputStream to this file - try to decrypt the File but !!!! BUT DO NOT CLOSE THE INPUTSTREAM !!! This works fine for me For the second problem i have the same and need also help! PLEASE -----Original Message----- From: cry...@li... [mailto:cry...@li...] On Behalf Of Robert W. Wade Sent: Dienstag, 26. November 2002 19:26 To: cry...@li... Subject: [Cryptix-users] Problems decrypting with Cryptix OpenPGP I am having the same problem that was mentioned on 11/19 by Krishna Arji. When I encrypt a file using PGP 6.5.8 and then try to decrypt it using OpenPGP, I get the following runtime exception: Exception in thread "main" java.lang.RuntimeException: IOException on ByteArrayInputStream, should not happen. java.io.EOFException: Unexpected end of ZLIB input stream at cryptix.openpgp.packet.PGPEncryptedDataPacket.decrypt(PGPEncryptedDataPa cket.java:285) at cryptix.openpgp.provider.PGPEncryptedMessageImpl.decrypt(PGPEncryptedMes sageImpl.java:210) at cryptix.openpgp.provider.PGPEncryptedMessageImpl.decrypt(PGPEncryptedMes sageImpl.java:301) at Decrypt.main(Decrypt.java:125) Additionally, I am able to decrypt a file (sent from a third-party) using PGP 6.5.8, but when I try to decrypt it using OpenPGP I get this exception: Reading message failed. cryptix.message.MessageException: cryptix.openpgp.PGPDataFormatException: Read tried past end of packet. at cryptix.openpgp.provider.PGPMessageFactory.generateBinary(PGPMessageFact ory.java:144) at cryptix.openpgp.provider.PGPMessageFactory.engineGenerateMessages(PGP MessageFactory.java:72) at cryptix.message.MessageFactory.generateMessages(MessageFactory.java:134) at Decrypt.main(Decrypt.java:103) As an additional piece of information, the OpenPGP encrypt/decrypt examples work fine when run alone. Any help is greatly appreciated, Rob rwwade(at)yahoo.com __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en _______________________________________________ Cryptix-Users mailing list Cry...@li... https://lists.sourceforge.net/lists/listinfo/cryptix-users ------------------------------------------------------- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en _______________________________________________ Cryptix-Users mailing list Cry...@li... https://lists.sourceforge.net/lists/listinfo/cryptix-users ------------------------------------------------------- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en _______________________________________________ Cryptix-Users mailing list Cry...@li... https://lists.sourceforge.net/lists/listinfo/cryptix-users |
From: Chris Go <cg...@US...> - 2002-11-27 17:03:21
|
On the 2nd problem, I think it may be related to compression? I can decrypt short strings (i.e., 100 characters of text) but when it gets longer, I think PGP automatically compresses it. I tried to get the classname of the message object and it is NOT a compressed stream so I'm thinking it doesn't know that it's a compressed stream. Chris -----Original Message----- From: Marcel Mock To: 'Robert W. Wade' Cc: cry...@li... Sent: 11/27/02 7:10 AM Subject: RE: [Cryptix-users] Problems decrypting with Cryptix OpenPGP For your first problem I have a Solution! - write your message to an file - open a FileInputStream to this file - try to decrypt the File but !!!! BUT DO NOT CLOSE THE INPUTSTREAM !!! This works fine for me For the second problem i have the same and need also help! PLEASE -----Original Message----- From: cry...@li... [mailto:cry...@li...] On Behalf Of Robert W. Wade Sent: Dienstag, 26. November 2002 19:26 To: cry...@li... Subject: [Cryptix-users] Problems decrypting with Cryptix OpenPGP I am having the same problem that was mentioned on 11/19 by Krishna Arji. When I encrypt a file using PGP 6.5.8 and then try to decrypt it using OpenPGP, I get the following runtime exception: Exception in thread "main" java.lang.RuntimeException: IOException on ByteArrayInputStream, should not happen. java.io.EOFException: Unexpected end of ZLIB input stream at cryptix.openpgp.packet.PGPEncryptedDataPacket.decrypt(PGPEncryptedDataPa cket.java:285) at cryptix.openpgp.provider.PGPEncryptedMessageImpl.decrypt(PGPEncryptedMes sageImpl.java:210) at cryptix.openpgp.provider.PGPEncryptedMessageImpl.decrypt(PGPEncryptedMes sageImpl.java:301) at Decrypt.main(Decrypt.java:125) Additionally, I am able to decrypt a file (sent from a third-party) using PGP 6.5.8, but when I try to decrypt it using OpenPGP I get this exception: Reading message failed. cryptix.message.MessageException: cryptix.openpgp.PGPDataFormatException: Read tried past end of packet. at cryptix.openpgp.provider.PGPMessageFactory.generateBinary(PGPMessageFact ory.java:144) at cryptix.openpgp.provider.PGPMessageFactory.engineGenerateMessages(PGP MessageFactory.java:72) at cryptix.message.MessageFactory.generateMessages(MessageFactory.java:134) at Decrypt.main(Decrypt.java:103) As an additional piece of information, the OpenPGP encrypt/decrypt examples work fine when run alone. Any help is greatly appreciated, Rob rwwade(at)yahoo.com __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en _______________________________________________ Cryptix-Users mailing list Cry...@li... https://lists.sourceforge.net/lists/listinfo/cryptix-users ------------------------------------------------------- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en _______________________________________________ Cryptix-Users mailing list Cry...@li... https://lists.sourceforge.net/lists/listinfo/cryptix-users |
From: Marcel M. <mar...@we...> - 2002-11-27 15:10:55
|
For your first problem I have a Solution! - write your message to an file - open a FileInputStream to this file - try to decrypt the File but !!!! BUT DO NOT CLOSE THE INPUTSTREAM !!! This works fine for me For the second problem i have the same and need also help! PLEASE -----Original Message----- From: cry...@li... [mailto:cry...@li...] On Behalf Of Robert W. Wade Sent: Dienstag, 26. November 2002 19:26 To: cry...@li... Subject: [Cryptix-users] Problems decrypting with Cryptix OpenPGP I am having the same problem that was mentioned on 11/19 by Krishna Arji. When I encrypt a file using PGP 6.5.8 and then try to decrypt it using OpenPGP, I get the following runtime exception: Exception in thread "main" java.lang.RuntimeException: IOException on ByteArrayInputStream, should not happen. java.io.EOFException: Unexpected end of ZLIB input stream at cryptix.openpgp.packet.PGPEncryptedDataPacket.decrypt(PGPEncryptedDataPa cket.java:285) at cryptix.openpgp.provider.PGPEncryptedMessageImpl.decrypt(PGPEncryptedMes sageImpl.java:210) at cryptix.openpgp.provider.PGPEncryptedMessageImpl.decrypt(PGPEncryptedMes sageImpl.java:301) at Decrypt.main(Decrypt.java:125) Additionally, I am able to decrypt a file (sent from a third-party) using PGP 6.5.8, but when I try to decrypt it using OpenPGP I get this exception: Reading message failed. cryptix.message.MessageException: cryptix.openpgp.PGPDataFormatException: Read tried past end of packet. at cryptix.openpgp.provider.PGPMessageFactory.generateBinary(PGPMessageFact ory.java:144) at cryptix.openpgp.provider.PGPMessageFactory.engineGenerateMessages(PGP MessageFactory.java:72) at cryptix.message.MessageFactory.generateMessages(MessageFactory.java:134) at Decrypt.main(Decrypt.java:103) As an additional piece of information, the OpenPGP encrypt/decrypt examples work fine when run alone. Any help is greatly appreciated, Rob rwwade(at)yahoo.com __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en _______________________________________________ Cryptix-Users mailing list Cry...@li... https://lists.sourceforge.net/lists/listinfo/cryptix-users |