Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1222 commits
Select commit Hold shift + click to select a range
5f5f887
added CRLsign check
dghgit May 1, 2024
c5ef9e7
Merge branch 'sigv6_2' of https://github.com/pgpainless/bc-java into …
dghgit May 1, 2024
7d3efae
Merge branch 'pgpainless-sigv6_2'
dghgit May 1, 2024
8ce0891
minor reorg of test classes - relates to github #1634
dghgit May 1, 2024
729d6a3
Merge remote-tracking branch 'refs/remotes/origin/main'
dghgit May 1, 2024
d2ac0bc
added default setting for CRL sign check
dghgit May 1, 2024
2f63dc8
added default providing isOverride()
dghgit May 1, 2024
f00ed63
added use of default on CRL sign check.
dghgit May 1, 2024
21501b2
cleared up some colliding tests
dghgit May 1, 2024
b7a8c9c
Merge branch 'fingerprintUtil' of https://github.com/pgpainless/bc-ja…
dghgit May 1, 2024
ec3dbd0
Merge branch 'pgpainless-fingerprintUtil'
dghgit May 1, 2024
42818cf
fixed checkstyle issues.
dghgit May 1, 2024
d7ffa8b
added FingerprintUtilTest (relates to github #1636)
dghgit May 1, 2024
0053f46
bought util build in line with gradle util build
dghgit May 1, 2024
56b4565
Merge branch 'hashUtil' of https://github.com/pgpainless/bc-java into…
dghgit May 1, 2024
b5bff1b
Merge branch 'pgpainless-hashUtil'
dghgit May 1, 2024
dda1247
Minor changes in PGPEncryptedDataGenerator
May 2, 2024
78e2ebe
Merge branch 'main' into pg-synchronize-bc_csharp
May 2, 2024
a146dc1
Fix bugs in PGPPublicKeyMergeTest.
May 2, 2024
7ef06d1
Remove some code in PGPPublicKeyMergeTest.
May 2, 2024
554fe27
Use FingerprintUtil for deriving key-ID from fingerprint
vanitasvitae May 2, 2024
bc00722
Use FingerprintUtil in test
vanitasvitae May 2, 2024
3561b43
added CVE ID for unallocated CVE
dghgit May 3, 2024
4a10c27
Added OSGI scan check to "check" stage
mwcw May 6, 2024
5dc9e3e
swapped sha2_128f and sha2_128s for SPHINCSPlusParameterSpec.java (#1…
May 6, 2024
06ef4f6
OpenPGP Packets: Remember packetTagFormat to allow round-tripping pac…
vanitasvitae May 7, 2024
87ed633
Refer to public key algorithm registries
vanitasvitae May 7, 2024
ca40bd6
Add documentation to individual PK algorithm tags
vanitasvitae May 7, 2024
eb97aef
Deprecated RSA_SIGN, RSA_ENCRYPT, ELGAMAL_GENERAL
vanitasvitae May 7, 2024
8f5cf8f
Add new PK algorithm tags AEDH, AEDSA
vanitasvitae May 7, 2024
9b54752
Document SymmetricKeyAlgorithmTags
vanitasvitae May 7, 2024
bfdf9e2
Document HashAlgorithmTags
vanitasvitae May 7, 2024
ccf4fcf
Document CompressionAlgorithmTags
vanitasvitae May 7, 2024
a610c98
Add documentation for AEADAlgorithmTags
vanitasvitae May 7, 2024
1f8265a
Fix javadoc
peterdettman May 7, 2024
fbfff8e
Refactor PEMParser
peterdettman May 7, 2024
81eea49
Add documentation to ECDH,ECDSA,EdDSA BCPGKeys
vanitasvitae May 8, 2024
4d567d6
Merge branch 'main' into pg-synchronize-bc_csharp
May 9, 2024
205878e
Use Pack in FingerprintUtil
May 9, 2024
2ff8410
Refactor on OnePassSignaturePacket and add tests back to OperatorBcTest
May 14, 2024
f436c8e
Fix KEMRecipientInfo sequence size restriction
peterdettman May 16, 2024
433fc69
Improve KeyAgreeRecipientIdentifier getInstance methods
peterdettman May 16, 2024
5eed174
Use Pack class for writing and reading key-IDs from byte arrays
vanitasvitae May 16, 2024
472d768
Add tests for conversion between JCA/BC keys
vanitasvitae May 21, 2024
8f258b1
Fix PGPKeyConverter classes support for X448,Ed448,X25519,Ed25519
vanitasvitae May 21, 2024
f23fc36
Document reversed MPI encoding / little-endian native encoding
vanitasvitae May 21, 2024
9c97d4a
Fix javadoc reference to ECSecretBCPGKey
vanitasvitae May 21, 2024
94b91e1
Add EdECObjectIdentifiers.id_X25519 to Bc/JcePublicKeyKeyEncryptionMe…
May 21, 2024
40979ea
Changes around StreamUtil.
May 22, 2024
e89655e
Changes around StreamUtil
May 22, 2024
6a6c0be
Add StreamUtil.readBodyLen function
May 22, 2024
0413250
Add StreamUtil.readBodyLen function
May 22, 2024
5eb068a
Reformat PGPV3SignatureGenerator.
May 22, 2024
53f22c2
Add error messages to Curve25519PrivateKeyEncodingTest
vanitasvitae May 22, 2024
d67d1d9
Merge branch 'documentSKTags' of https://github.com/pgpainless/bc-jav…
dghgit May 22, 2024
0a85136
Merge branch 'pgpainless-documentSKTags'
dghgit May 22, 2024
aa4d91a
Merge branch 'documentPKTags' of https://github.com/pgpainless/bc-jav…
dghgit May 22, 2024
3793cfd
Merge branch 'pgpainless-documentPKTags'
dghgit May 22, 2024
7847acd
Merge branch 'documentHashTags' of https://github.com/pgpainless/bc-j…
dghgit May 22, 2024
c5b282c
Merge branch 'pgpainless-documentHashTags'
dghgit May 22, 2024
e921d3c
Merge branch 'documentCompressionTags' of https://github.com/pgpainle…
dghgit May 22, 2024
9770ace
Merge branch 'pgpainless-documentCompressionTags'
dghgit May 22, 2024
3a7b8b2
Merge branch 'documentAEADTags' of https://github.com/pgpainless/bc-j…
dghgit May 22, 2024
6d2e793
Merge branch 'pgpainless-documentAEADTags'
dghgit May 22, 2024
15b0d91
Merge branch 'documentBCPGKeys' of https://github.com/pgpainless/bc-j…
dghgit May 22, 2024
1bae99b
Merge branch 'pgpainless-documentBCPGKeys'
dghgit May 22, 2024
b25718a
Merge branch 'roundtripPacketFormat' of https://github.com/pgpainless…
dghgit May 22, 2024
77f3465
Merge branch 'pgpainless-roundtripPacketFormat'
dghgit May 22, 2024
347c2af
removed unnecessary import
dghgit May 22, 2024
b4f8a61
OpenPGP Packets: Remember packetTagFormat to allow round-tripping pac…
vanitasvitae May 7, 2024
1bca359
Fix OnePassSignaturePacketTest by only comparing encoding if format m…
vanitasvitae May 22, 2024
3abf79d
Merge branch 'roundtripPacketFormat' of https://github.com/pgpainless…
dghgit May 22, 2024
c3bb3ec
Merge branch 'pgpainless-roundtripPacketFormat'
dghgit May 22, 2024
9f80ac6
Merge branch 'useFingerprintUtil' of https://github.com/pgpainless/bc…
dghgit May 22, 2024
0588317
Merge branch 'pgpainless-useFingerprintUtil'
dghgit May 22, 2024
b49da0f
Merge branch 'main' into pg-synchronize-bc_csharp
May 22, 2024
95b574e
move the javadoc to the right place caused by merge
May 23, 2024
35f3089
Merge branch 'fixKeyConversion' of https://github.com/pgpainless/bc-j…
dghgit May 23, 2024
22f6fec
Merge branch 'pgpainless-fixKeyConversion'
dghgit May 23, 2024
7a4fc94
refactor around streams
May 23, 2024
33a678b
refactor PGPPublicKey.join
May 23, 2024
9cd5f98
Add Util.encodePGPSignatures
May 23, 2024
8e6038e
Add test for EC curve key conversion
vanitasvitae May 13, 2024
a32e9b6
Fix conversion of ECDSA keys
vanitasvitae May 20, 2024
8004fb3
Rename named curve lookup method
vanitasvitae May 23, 2024
7065651
Merge branch 'pgpainless-fixECKeyConversion'
dghgit May 23, 2024
897caef
Do not register BouncyCastleProvider in ECDSAKeyPairTest
vanitasvitae May 23, 2024
185ed7f
Minor change in SignaturePacket.
May 23, 2024
225fcaf
create generateHKDFBytes, isX25519. Refactor: makeKeyFromPassPhrase
May 28, 2024
b330d2f
Use prepend to replace concatenate for getting session data
May 29, 2024
d441274
added UTF8 support
dghgit May 29, 2024
72d922b
Merge branch 'fixECKeyConversion' of https://github.com/pgpainless/bc…
dghgit May 29, 2024
975c2cc
Generalized EC key processing for different providers, added use of X…
dghgit May 29, 2024
7bbee18
Minor cleanup of unused argument.
dghgit May 30, 2024
a45fee9
Merge branch 'main' into pg-synchronize-bc_csharp
May 30, 2024
a3df8e0
Solve the bugs related EDDSA_LEGACY with Ed448
May 30, 2024
22513e7
ProvTlsServer should use custom DH groups when configured
ottoka Dec 6, 2022
3b66bb1
Add signing/verification tests for LegacyEd25519/LegacyEd448 keys
vanitasvitae May 23, 2024
105dbef
Fix legacy Ed448 signature field parsing
vanitasvitae May 23, 2024
d07266b
Fix signing using legacy Ed448 keys
vanitasvitae May 23, 2024
80f81a5
Followup changes for custom DH groups
peterdettman May 30, 2024
7f49a54
TLS: Improve default server DH group selection
peterdettman May 30, 2024
467ca1e
Improve Dilithium, LMS, SPHINCS+'s constant time behavior
cipherboy May 28, 2024
d50e8bd
Fix the exception message. Ensure array.copy in getPublicBCPGKey cann…
May 31, 2024
ccfb9ef
Test conversion of Ed25519, Ed448 keys with leading zero
vanitasvitae Jun 2, 2024
7f286f8
Prevent conversion issue for EdDSA keys with leading 0
vanitasvitae Jun 2, 2024
c2d388f
Merge branch 'ed_leading_zero' of https://github.com/pgpainless/bc-ja…
dghgit Jun 3, 2024
03eb041
Merge branch 'pgpainless-ed_leading_zero'
dghgit Jun 3, 2024
9aed89e
Merge branch 'fixEd448Signing' of https://github.com/pgpainless/bc-ja…
dghgit Jun 3, 2024
c99895d
Merge branch 'pgpainless-fixEd448Signing'
dghgit Jun 3, 2024
0520ebc
minor refactor
dghgit Jun 3, 2024
67a2f3a
Merge branch 'main' into pg-synchronize-bc_csharp
Jun 3, 2024
b44ecfe
Dilithium changed (Challenge) SampleInBall to take all of CTILDA rath…
Jun 5, 2024
1217919
Simplify toMsg
peterdettman Jun 6, 2024
3c19849
AuthEnvelopedData version is always 0 (fix test copy/paste)
peterdettman Jun 12, 2024
6dc742a
CMS: Fix AuthenticatedData version calculation
peterdettman Jun 12, 2024
a4d8f79
CMS: Fix EnvelopedData version calculation
peterdettman Jun 12, 2024
796d259
CMS: OtherKeyAttribute.keyAttr is optional
peterdettman Jun 12, 2024
8adbe42
Refactoring in jsse.provider
peterdettman Jun 13, 2024
e58f73f
Add TODO
peterdettman Jun 21, 2024
a07af16
Add constructor with crl parameter
peterdettman Jun 21, 2024
0f4053a
Improve RC2 effective key bits determination
peterdettman Jun 21, 2024
f8b5ae1
Add TODOs for extraneous classes
peterdettman Jun 21, 2024
15c42c0
Remove @Override annotations
peterdettman Jun 23, 2024
8f5db23
pr-1701: reuse type constants
Jun 24, 2024
dd56165
Use isOverrideSet for consistency
peterdettman Jun 28, 2024
8aa3dc5
Refactor CMSTimeStampedDataGenerator
peterdettman Jun 28, 2024
b737d45
Changed DRBG creation to give priority to getInstanceStrong() (the ag…
dghgit Jul 1, 2024
c27ff7a
commented out problematic check.
dghgit Jul 1, 2024
1e4cb8c
javadoc errors.
dghgit Jul 1, 2024
08e3fbe
commented out problem composite signatures.
dghgit Jul 1, 2024
84288db
added back signature check
dghgit Jul 2, 2024
9b5f7ed
ASN.1: Optimize short OID branches
peterdettman Jul 2, 2024
4abf695
fixed bc-test-data
Jul 2, 2024
fde6ef0
Fix the bugs in OperatorBcTest
Jul 4, 2024
4ae51a9
github #1732 update
dghgit Jul 4, 2024
f4ba48a
added support for independent provider key wrapping after agreement step
dghgit Jul 4, 2024
cb0d210
Refactoring around ECPrivateKey
peterdettman Jul 12, 2024
ce8409d
Kyber javadoc updates
peterdettman Jul 12, 2024
b8e4716
Add ECNamedDomainParameters.lookup
peterdettman Jul 12, 2024
8de3703
github #1664 - Abstract KEM functionality out of DHKEM
Jul 17, 2024
24509b5
Merge remote-tracking branch 'origin/main'
Jul 17, 2024
96af91b
reformating
Jul 17, 2024
14fcbad
pr-1687-prevent-0xFF-PGP-signature
jill-kleiber Jul 23, 2024
55d09fd
Merge branch 'pr-1687-prevent-0xFF-PGP-signature' into 'main'
dghgit Jul 23, 2024
c6c45d3
majority of PGP pull requests
jill-kleiber Jul 23, 2024
c1db09f
Merge branch 'pr-1699-1695-1702' into 'main'
dghgit Jul 23, 2024
e223d14
Merge branch 'main' into pg-synchronize-bc_csharp
Jul 24, 2024
b3ba08e
PGP documentation
jill-kleiber Jul 24, 2024
5d3edd0
Merge branch 'pr-1711-1712-1713-PGP-documentation' into 'main'
dghgit Jul 24, 2024
73e08f6
Add constant about flags in StreamUtil. Try use S2k constructor in Sy…
Jul 24, 2024
dcac367
Merge branch 'main' into pg-synchronize-bc_csharp
Jul 24, 2024
913790c
resolve the merge conflicts
Jul 24, 2024
8693881
Fix the bug in SignaturePacket
Jul 24, 2024
213297a
pr-1716-improve-PGPPadding
jill-kleiber Jul 24, 2024
4d44c17
Merge branch 'pr-1716-improve-PGPPadding' into 'main'
dghgit Jul 24, 2024
4705216
pr-1676-openPGP-function-tests
jill-kleiber Jul 25, 2024
4cdf535
Merge branch 'pr-1676-openPGP-function-tests' into 'main'
dghgit Jul 25, 2024
058cacf
Merge branch 'main' into pg-synchronize-bc_csharp
Jul 25, 2024
8e4ba6e
Merge branch 'pg-synchronize-bc_csharp' into 'main'
dghgit Jul 25, 2024
310b30a
added cap on size of subject alt name extension reviewer will accept.
dghgit Jul 28, 2024
2827a0b
removed use of ElGamalPublicKey (reduce portability issues)
dghgit Jul 28, 2024
303d59f
removed out of date link
dghgit Aug 8, 2024
d53e39e
Introduce system property for lax PEM parsing.
TaZbon Aug 8, 2024
c17830e
set debug to true
dghgit Aug 9, 2024
581c10c
added setUnwrappingProvider()
dghgit Aug 9, 2024
1b32536
PhotonBeetle perf. opts.
peterdettman Aug 12, 2024
8a50bb7
Xoodyak perf. opts.
peterdettman Aug 12, 2024
953ef6b
Updates to ML-KEM Updated to FIPS203
Aug 13, 2024
df71b64
reverted some changes to get ml-kem working (passes acvp test, not su…
Aug 13, 2024
874e05c
Frodo: const-time improvements
peterdettman Aug 14, 2024
7b39989
Falcon: const-time improvements
peterdettman Aug 14, 2024
93f7239
added implicit rejection to ml-kem when decapsulation fails
Aug 14, 2024
7f2e5ca
fixed unused offset and length issue
dghgit Aug 15, 2024
f33ab6e
enabled domain separation to mlkem keygen
Aug 15, 2024
08d1f20
enabled domain separation to mldsa keygen
Aug 15, 2024
cc0ab53
first cut of support for FIDO2 keys.
dghgit Aug 16, 2024
b1e2223
fixed xwingtest failing due to ml-dsa
Aug 19, 2024
d8f2612
BCJSSE: Support for signature_algorithms_cert configuration
peterdettman Aug 20, 2024
56c0888
Merge branch 'main' of gitlab.cryptoworkshop.com:root/bc-java
dghgit Aug 20, 2024
35b8a44
fixed old Dilithium KAT test.
dghgit Aug 20, 2024
5ff148f
added NIST OIDS for ML-KEM, "pure" ML-DSA, "pure" SLH-DSA
Aug 20, 2024
ee5cbaf
fixed PrivateKeyFactory sphincs plus/slh-dsa
Aug 20, 2024
ccd21ee
added missing param lookup
dghgit Aug 21, 2024
4bcd6b6
added SLHDSA provider struct
dghgit Aug 21, 2024
bd65f15
commented out composite test (still using pre-NIST oid).
dghgit Aug 21, 2024
fe79ce2
Added job to trigger the spongycastle sync automation
Aug 21, 2024
4c8fe99
removed extra references to NIST OIDs.
dghgit Aug 21, 2024
7f2d459
removed extra references to NIST OIDs.
dghgit Aug 21, 2024
86b26f0
Merge remote-tracking branch 'refs/remotes/origin/main'
dghgit Aug 21, 2024
be81d6c
added MLKEM and MLDSA provider structs
Aug 21, 2024
18d3815
fixed key factory setups for certificate. Updated tests to ML-DSA.
dghgit Aug 22, 2024
67c85f8
fixed key factory setups for certificate. Updated tests to ML-DSA.
dghgit Aug 22, 2024
74a6244
Updated tests to ML-DSA rather than Dilithium
dghgit Aug 22, 2024
22a9e71
updated kyber to solely refer to mlkem implementation
dghgit Aug 22, 2024
2f9d0b7
More replacement of Kyber name with ML-KEM (sob...)
dghgit Aug 22, 2024
b4315db
More replacement of Kyber name with ML-KEM (sob...)
dghgit Aug 22, 2024
6e69c3e
Removed use of aes
dghgit Aug 22, 2024
0657f44
added MLKEM to jdk21
Aug 22, 2024
b90af3b
Merge remote-tracking branch 'origin/main'
Aug 22, 2024
411b417
some renaming
Aug 22, 2024
f47ff7a
basic SLH-DSA package
dghgit Aug 22, 2024
55d71b3
moved to slhdsa package.
dghgit Aug 22, 2024
cbecef3
moved to mldsa from dilithium (choke, sob, sob...)
dghgit Aug 23, 2024
c8fe4d7
fixed old dilithium for compatibility.
dghgit Aug 23, 2024
1fc6958
added octet string processing for ML-DSA
dghgit Aug 23, 2024
547d9d3
moved MLKEM into regular provider package to correspond to class for …
dghgit Aug 23, 2024
455ca61
modified to use ML-DSA and the BC provider
dghgit Aug 23, 2024
cf9877b
fixed slh-dsa: message_to_indexes replaced with base2b in for.sign()
Aug 23, 2024
9c96f9a
updated embedded test vector.
dghgit Aug 24, 2024
108fcf5
updated KEMRecipientInfo to RFC 9629
dghgit Aug 25, 2024
7324d9a
added support for ML-DSA, attempted to avoid getting private key enco…
dghgit Aug 25, 2024
7a2f2c3
Changed syncing strategy for
Aug 25, 2024
7ad116c
pr-1775 fix incrementCounter
Aug 26, 2024
d207a8a
Fix reversed null check
peterdettman Aug 26, 2024
ff444a4
Limit alt names also in deprecated CertPath reviewer
peterdettman Aug 26, 2024
73bef27
Refactoring in x509 classes around OIDs
peterdettman Aug 26, 2024
708227f
added oid and algorithm named key factories.
dghgit Aug 26, 2024
71ed54b
Merge remote-tracking branch 'refs/remotes/origin/main'
dghgit Aug 26, 2024
0756967
Add @Override annotations
peterdettman Aug 26, 2024
17eab03
added prehash version of MLDSA,
Aug 26, 2024
bb24f18
added lower case conversion for table lookup.
dghgit Aug 27, 2024
55cd145
Merge remote-tracking branch 'refs/remotes/origin/main'
dghgit Aug 27, 2024
b8abae7
minor formatting of exceptions
dghgit Aug 27, 2024
9feebf6
added use of old dilithium OIDs for hash-ml to avoid side affects.
dghgit Aug 27, 2024
cd7b957
changed MLKEM to ML-KEM.
dghgit Aug 27, 2024
17aa0f9
updated test vector for ML-DSA.
dghgit Aug 27, 2024
5f6d679
commented out old vector test.
dghgit Aug 27, 2024
6a6b4da
Refactoring in legacy X509CertSelector and CertUtil
peterdettman Aug 27, 2024
6db6766
added prehash version of SLH-DSA,
Aug 27, 2024
662edc0
fixed statement for distinguishing pre-hash/pure
Aug 27, 2024
69dc6e0
added pre-hash OIDS for ml-dsa and slh-dsa
Aug 30, 2024
355e268
corrected map check for ml-dsa to use mldsaParams
dghgit Aug 30, 2024
41ff433
update public key factory,
dghgit Aug 31, 2024
5658a34
further refactoring for digest per sig object creation
dghgit Aug 31, 2024
96cccd8
added JCA support for pre-hash versions of ML-DSA
dghgit Aug 31, 2024
5e38177
added pre-hash support for JCA, removed erroneous parameter check in …
dghgit Aug 31, 2024
af08fd1
added pre-hash support for SLH-DSA, ML-DSA to CMS/PKIX operators
dghgit Aug 31, 2024
4e20236
added aliases SHA512withMLDSA, HASHwithSLHDSA, MLDSA, SLHDSA.
dghgit Aug 31, 2024
1f0cb48
added equals/hashCode for OCSP CertID,changed algID check in revocati…
dghgit Aug 31, 2024
f0c66c1
fixed OID table lookup - relates to github #1797
dghgit Sep 1, 2024
51a969b
rename kyber -> mlkem
mwcw Sep 2, 2024
c0d6922
Merge remote-tracking branch 'origin/main'
mwcw Sep 2, 2024
f766767
Remove IDs from SLHDSAParameters
Sep 2, 2024
748e670
Merge branch 'pemparser_fix' of https://github.com/TaZbon/bc-java int…
dghgit Sep 2, 2024
8c59d96
Merge branch 'TaZbon-pemparser_fix'
dghgit Sep 2, 2024
dee3de9
minor reformat - relates to github #1771
dghgit Sep 2, 2024
aac3bf1
Merge branch 'main' of gitlab.cryptoworkshop.com:root/bc-java
dghgit Sep 2, 2024
f1a299b
github updates
dghgit Sep 2, 2024
c54c7fd
Partial length encoding: Enforce minimum length of the first chunk
vanitasvitae Sep 6, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
bin/
build/
*/build/
libs/*.jar
out/
*/out/
.settings/
Expand Down
118 changes: 104 additions & 14 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,120 @@
stages:
- check
- build
- test
- sync

check-code:
stage: check
script:
- "apply_overlay bc-java ./"
- ". cienv.sh; \ gradle check -x test;"

- "ecr_login"
- "ecr_pull vm_base_intel latest"
- "ci_docker_run \"vm_base_intel:latest\" \"bc-java\" \"/workspace/bc-java/ci/check_java.sh\""
artifacts:
when: always
paths:
- "core/build/reports"
- "prov/build/reports"
- "pg/build/reports"
- "pkix/build/reports"
- "mail/build/reports"
- "util/build/reports"
- "tls/build/reports"
- "mls/build/reports"

ant-build:
stage: build
needs: [ "check-code" ]
script:
- "ecr_login"
- "ecr_pull vm_base_intel latest"
- "ci_docker_run \"vm_base_intel:latest\" \"bc-java\" \"/workspace/bc-java/ci/build_1_8.sh\""


test-code-8:
stage: test
needs: [ "check-code" ]
script:
- "apply_overlay bc-java ./"
- "sh gettestdata.sh"
- ". cienv-8.sh; \ gradle -stacktrace clean build;"

- "ecr_login"
- "ecr_pull vm_base_intel latest"
- "ci_docker_run \"vm_base_intel:latest\" \"bc-java\" \"/workspace/bc-java/ci/test_8.sh\""
artifacts:
when: always
reports:
junit:
- "core/build/test-results/**/*.xml"
- "prov/build/test-results/**/*.xml"
- "pg/build/test-results/**/*.xml"
- "pkix/build/test-results/**/*.xml"
- "mail/build/test-results/**/*.xml"
- "util/build/test-results/**/*.xml"
- "tls/build/test-results/**/*.xml"
- "mls/build/test-results/**/*.xml"

test-code-11:
stage: test
needs: [ "check-code" ]
script:
- "apply_overlay bc-java ./"
- "sh gettestdata.sh"
- ". cienv-11.sh; \ gradle -stacktrace clean build;"

- "ecr_login"
- "ecr_pull vm_base_intel latest"
- "ci_docker_run \"vm_base_intel:latest\" \"bc-java\" \"/workspace/bc-java/ci/test_11.sh\""
artifacts:
when: always
reports:
junit:
- "core/build/test-results/**/*.xml"
- "prov/build/test-results/**/*.xml"
- "pg/build/test-results/**/*.xml"
- "pkix/build/test-results/**/*.xml"
- "mail/build/test-results/**/*.xml"
- "util/build/test-results/**/*.xml"
- "tls/build/test-results/**/*.xml"
- "mls/build/test-results/**/*.xml"


test-code-17:
stage: test
needs: [ "check-code" ]
script:
- "ecr_login"
- "ecr_pull vm_base_intel latest"
- "ci_docker_run \"vm_base_intel:latest\" \"bc-java\" \"/workspace/bc-java/ci/test_17.sh\""
artifacts:
when: always
reports:
junit:
- "core/build/test-results/**/*.xml"
- "prov/build/test-results/**/*.xml"
- "pg/build/test-results/**/*.xml"
- "pkix/build/test-results/**/*.xml"
- "mail/build/test-results/**/*.xml"
- "util/build/test-results/**/*.xml"
- "tls/build/test-results/**/*.xml"
- "mls/build/test-results/**/*.xml"


test-code-21:
stage: test
needs: [ "check-code" ]
script:
- "ecr_login"
- "ecr_pull vm_base_intel latest"
- "ci_docker_run \"vm_base_intel:latest\" \"bc-java\" \"/workspace/bc-java/ci/test_21.sh\""
artifacts:
when: always
reports:
junit:
- "core/build/test-results/**/*.xml"
- "prov/build/test-results/**/*.xml"
- "pg/build/test-results/**/*.xml"
- "pkix/build/test-results/**/*.xml"
- "mail/build/test-results/**/*.xml"
- "util/build/test-results/**/*.xml"
- "tls/build/test-results/**/*.xml"
- "mls/build/test-results/**/*.xml"


spongycastle:
stage: "sync"
script:
- "apply_overlay bc-java ./"
- "sh gettestdata.sh"
- ". cienv-17.sh; \ gradle -stacktrace clean build;"
- "syncpongy.sh"
51 changes: 51 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Bouncy Castle Contributing Guidelines <!-- omit in toc -->

Thank you for contributing to Bouncy Castle!

In this guide, you get an overview of the contribution workflow from starting a discussion or opening an issue, to creating, reviewing, and merging a pull request.

For an overview of the project, see [README](README.md).

### Start a discussion
If you have a question or problem, you can [search in discussions](https://github.com/bcgit/bc-java/discussions), if someone has already found a solution to your problem.

Or you can [start a new discussion](https://github.com/bcgit/bc-java/discussions/new/choose) and ask your question.

### Create an issue

If you find a problem with Bouncy Castle, [search if an issue already exists](https://github.com/bcgit/bc-java/issues).

> **_NOTE:_** If the issue is a __potential security problem__, please contact us
before posting anything public. See [Security Policy](SECURITY.md).

If a related discussion or issue doesn't exist, and the issue is not security related, you can [open a new issue](https://github.com/bcgit/bc-java/issues/new). An issue can be converted into a discussion if regarded as one.

### Contribute to the code

For substantial, non-trivial contributions, you may be asked to sign a contributor assignment agreement. Optionally, you can also have your name and contact information listed in [Contributors](https://www.bouncycastle.org/contributors.html).

Please note we are unable to accept contributions which cannot be released under the [Bouncy Castle License](https://www.bouncycastle.org/licence.html). Issuing a pull request on our public github mirror is taken as agreement to issuing under the Bouncy Castle License.

#### Create a pull request

> **_NOTE:_** If the issue is a __potential security problem__, please contact us. See [Security Policy](SECURITY.md).

You are welcome to send patches, under the Bouncy Castle License, as pull requests. For more information, see [Creating a pull request](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request). For minor updates, you can instead choose to create an issue with short snippets of code. See above.

* For contributions touching multiple files try and split up the pull request, smaller changes are easier to review and test, as well as being less likely to run into merge issues.
* Create a test cases for your change, it may be a simple addition to an existing test. If you do not know how to do this, ask us and we will help you.
* If you run into any merge issues, check out this [git tutorial](https://github.com/skills/resolve-merge-conflicts) to help you resolve merge conflicts and other issues.

For more information, refer to the Bouncy Castle documentation on [Getting Started with Bouncy Castle](https://doc.primekey.com/bouncycastle/introduction#Introduction-GettingStartedwithBouncyCastle).

#### Self-review

Don't forget to self-review. Please follow these simple guidelines:
* Keep the patch limited, only change the parts related to your patch.
* Do not change other lines, such as whitespace, adding line breaks to Java doc, etc. It will make it very hard for us to review the patch.


#### Your pull request is merged

For acceptance, pull requests need to meet specific quality criteria, including tests for anything substantial. Someone on the Bouncy Castle core team will review the pull request when there is time, and let you know if something is missing or suggest improvements. If it is a useful and generic feature it will be integrated in Bouncy Castle to be available in a later release.

Loading