-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Bouncy Castle 1.51 removes the PGPSecretKey.extractPrivateKey(String) #6
Comments
I will have a look at this issue soon. |
The current HEAD contains the fix. I would appreciate if you could download, compile and have a look at it. I will release a new version in the coming weeks. |
Dear Sir, I've build the HEAD as Anyhow I've found some trouble during testing the I hope this information may be useful. If you have any question or need further information. Please do not hesitate to let me know. Regards, Charlee Ch. [1] The surefire report
|
That is a small bug in the test itself. Since you execute it on Windows the license text finishes a I will fix it some time. |
HEAD contains fix |
Dear Sir, Sorry for late reply. I've test the HEAD against my Windows 7-64 bits environment. There are 2 test cases which is still failure as the following: -
1.At the line 142
2.At the line 158
Anyhow I also have a chance to build against my CentOS environment. Everything look great. There is no any error. I hope this information may be useful. I'm looking forward to seeing the new release soon. Regards, Charlee Ch. |
I modified the test so that it only checks that there is a string |
Fix test case for windows by following the verhas@bc23210
Dear Sir, I've try to fix the test case for windows as charleech@4d08b97. Note: Please ignore the charleech@7d3b471 I found some trouble about the indent from my IDE and thought that it is not worth enough to create a pull request. Could you please help to review? Thank you very much for your help in advance. I'm looking forward to hearing from you soon. Regards, Charlee Ch. |
Since this is an olc issue and the current version is using BC 1.52 I close this issue. |
Dear Sir,
The Bouncy Castle 1.51 removes the
PGPSecretKey.extractPrivateKey(String)
, it cause the License3j some exception asjava.lang.NoSuchMethodError: org.bouncycastle.openpgp.PGPSecretKey.extractPrivateKey([CLjava/lang/String;)Lorg/bouncycastle/openpgp/PGPPrivateKey;
at com.verhas.licensor.License.encodeLicense(License.java:482)
By overview I've googled and found some example coding at [1]. If I'm not wrong it may be as the following: -
Could you please help to consider? Thank you very much for your help in advance. I'm looking forward to hearing from you soon.
Regards,
Charlee Ch.
[1] https://github.com/bcgit/bc-java/blob/master/pg/src/test/java/org/bouncycastle/openpgp/test/PGPUnicodeTest.java
The text was updated successfully, but these errors were encountered: