Comments (4)
The ZIP contains the private key (sorry, forgot to include the password).
I used this class to test it KksTest.java.txt. The LDAP address is intentionally screwed up to verify that the aforementioned issue occurs before LDAP access (i.e. it should be reproducible).
from secon-tool.
The fat JAR is indeed missing necessary classes. I have opened another pull request which removes the shrinking/minimizing step so that the fat JAR now contains all the classes from Bouncy Castle - at the expense of more than doubling its size.
On another note: Your test class will not work without the LDAP service because you have configured no other certificate directory.
If you just want to test your key store you can simply use the main class of the fat JAR:
echo 'Hello, world!' > message.in
java -jar kks-*-all.jar -recipient 999911114 -source message.in -sink message.cms -keystore 999911114.p12 -storepass diga -alias 999911114
java -jar kks-*-all.jar -source message.cms -sink message.out -keystore 999911114.p12 -storepass diga -alias 999911114
cmp message.{in,out}
(after downloading the new fat JAR, of course)
The main class always uses the keystore as a certificate directory, so it doesn't need an LDAP.
from secon-tool.
The fat-jar has been minimized. If an algorithm is only referenced by a string (OID) or via reflection, then the minimizer may discard it. Do you have an example for reproduction of the issue?
from secon-tool.
Thanks for fixing! Size is hopefully not an issue. People might always use the pure jar.
Also thanks for your remark! I'll have a look into more advanced uses of the library. We do need LDAP access indeed for outside subscribers. Talking to yourself was the easiest way to get started ;-)
from secon-tool.
Related Issues (19)
- Clarify license situation HOT 2
- RSASSA-PSS 4096 doesn't work HOT 4
- Please consider renaming this repository HOT 2
- Please create a first release HOT 5
- Improve documentation over the command line tool params HOT 6
- Add fun-io-bios library to JAR HOT 10
- (Non-)usage of parameter "employerNumber" in "sign" and "decrypt" HOT 3
- No need to declare a transitive dependency HOT 1
- use RSAES-OAEP algorithm for 4096 bit keys HOT 1
- Broken link to SECON spec HOT 1
- Add cache for LDAP certificates HOT 3
- Use embedded certificates HOT 7
- CertificateNotFoundException HOT 1
- Verification of valid/strong encryption algorithm HOT 1
- bouncycastle 1.6.4 has CVE-2020-15522 HOT 4
- SECON uses BouncyCastleProvider with old version 1.68 HOT 2
- Ist es ein Fehler wegen Signatur oder was fΓΌr ein Problem haben wir? HOT 1
- Doesn't compile on Java 8 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from secon-tool.