Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1084 commits
Select commit Hold shift + click to select a range
ec31b82
Added ant to path.
mwcw Mar 25, 2024
1e9721f
Update to pass multiple args to javadoc
mwcw Mar 25, 2024
dc6640f
Added call to gitlab_wait
Mar 26, 2024
85a6058
Removed gitlab_wait.sh from jobs.
Mar 26, 2024
d884486
added some explanatory comments.
dghgit Mar 26, 2024
a84dffb
minor changes to messages
dghgit Mar 26, 2024
17ea161
Merge branch 'main' of gitlab.cryptoworkshop.com:root/bc-java
dghgit Mar 26, 2024
9c84c41
Round out implementation of TLS RSA PreMasterSecret
peterdettman Mar 26, 2024
97b1684
Refactoring
peterdettman Mar 26, 2024
ed8035b
removed use of PQC provider.
dghgit Mar 26, 2024
b037095
NTRU KEMspi for jdk 21
Mar 26, 2024
92b7dce
Merge branch 'tls-kyber' of https://github.com/samsungsds-research-pa…
Mar 26, 2024
3256672
Merge branch 'main' of gitlab.cryptoworkshop.com:root/bc-java
dghgit Mar 27, 2024
f7fa1c4
digest name fix.
dghgit Mar 27, 2024
68d6e77
fixed checkstyle issue
dghgit Mar 27, 2024
72081fd
reverted PGPUtil inclusion
dghgit Mar 27, 2024
02b98eb
Fix various bitstring usages
peterdettman Mar 27, 2024
937d9c2
Fix engineGetOutputSize and add some TODOs
peterdettman Mar 27, 2024
966eed3
Add regression tests for Ed448 loop
cipherboy Mar 27, 2024
61514fb
Update EdDSA tests
peterdettman Mar 29, 2024
5eaa290
corrected test to avoid failure where last byte was already zero.
dghgit Mar 29, 2024
e91cab0
Merge branch 'main' of gitlab.cryptoworkshop.com:root/bc-java
dghgit Mar 29, 2024
9aa5b50
Added Mock Tls Tests
Apr 2, 2024
373d02e
Renamed kyber to mlkem
Apr 2, 2024
d33131e
Added mismatch test for different version of mlkem
Apr 2, 2024
8adb393
Added missing input validation for ML-KEM Encapsulation (fips 203 6.2)
Apr 2, 2024
ff11107
Replaced RuntimeException with IllegalArgumentException
Apr 2, 2024
8e58f1a
minor changes for compatibility
dghgit Apr 3, 2024
a795ca3
minor changes for compatibility
dghgit Apr 3, 2024
cc6e996
added AES CBC based PKCS12 store and AES GCM based PKCS12 store
dghgit Apr 3, 2024
f36c59f
minor changes for compatibility
dghgit Apr 3, 2024
e21587a
added use of Strings.toLowerCase()
dghgit Apr 3, 2024
65c9832
BCJSSE: Private key may not support encoding
peterdettman Apr 3, 2024
c47f644
BCJSSE: Improved workaround for InetAddress limitation
peterdettman Apr 3, 2024
807df10
Updates : add tls-kyber
yuhh0328 Jan 10, 2024
35002d9
Added KEM check in selectKeyShare/Group
Apr 3, 2024
63fa266
added fail in catch
Apr 3, 2024
58b5355
quick little arrangement
Apr 3, 2024
b6ac3d4
TLS: Rework ML-KEM PR
peterdettman Apr 3, 2024
10998f4
Merge remote-tracking branch 'origin/samsungsds-research-papers-tls-k…
Apr 3, 2024
e2903b1
Merged tests to tls ml-kem
Apr 3, 2024
28b2d3e
removed extra files due to naming
Apr 3, 2024
b52c6a4
removed extra files due to naming
Apr 3, 2024
9ebab44
added role back to simpler match for certificate matching (issue arou…
dghgit Apr 4, 2024
b2cb646
minor formatting
dghgit Apr 4, 2024
4721ce2
minor formatting
dghgit Apr 4, 2024
c397f26
moved to 1.78, BCJSSE 1.0.19.
dghgit Apr 4, 2024
b51f0b5
minor reformatting
dghgit Apr 4, 2024
f7193e0
compatibility updates.
dghgit Apr 4, 2024
6f75d8a
Ensure test data changes are pulled into container.
mwcw Apr 4, 2024
fda1e93
Removed test data pull.
mwcw Apr 4, 2024
3910a58
Cleanup deprecated TLS code
peterdettman Apr 4, 2024
c626bc3
DTLS: more robust exclusion of stream ciphers
peterdettman Apr 4, 2024
7a2cc6f
TLS: Use more appropriate method to check for ECDH curve
peterdettman Apr 4, 2024
439a643
Java 5 compatibility updates
dghgit Apr 4, 2024
42b7051
Java 5 compatibility updates
dghgit Apr 4, 2024
4f71aac
Merge branch 'main' of gitlab.cryptoworkshop.com:root/bc-java
dghgit Apr 4, 2024
d3d4a3a
Java 5 compatibility updates.
dghgit Apr 4, 2024
dd276b2
Java 5 compatibility updates.
dghgit Apr 4, 2024
81da673
Java 5 compatibility updates.
dghgit Apr 4, 2024
4520a1f
Add release notes for 1.78
cipherboy Apr 4, 2024
e73dbc5
Fix CCM input length check
cipherboy Apr 4, 2024
a38c09f
Java 5 compatibility
dghgit Apr 4, 2024
2120772
Merge branch 'main' of gitlab.cryptoworkshop.com:root/bc-java
dghgit Apr 4, 2024
32da5b7
Java 4 compatibility updates.
dghgit Apr 5, 2024
58d5ecf
added name resolving for jurisdiction{C,ST,L}. These are used in EV c…
mtgag Apr 5, 2024
0aa6fb4
Add CCM fix to release notes
cipherboy Apr 5, 2024
76f342e
Merge branch 'mtgag-jurisdiction_strings'
dghgit Apr 5, 2024
aaf3e40
Java 4 updates
dghgit Apr 5, 2024
c569173
Update release notes
peterdettman Apr 5, 2024
ea6ab94
Java 4 updates
dghgit Apr 5, 2024
f099d16
Merge branch 'main' of gitlab.cryptoworkshop.com:root/bc-java
dghgit Apr 5, 2024
2a5d4e1
minor cleanups
dghgit Apr 6, 2024
be2296d
moved to 1.78
dghgit Apr 6, 2024
11807fb
corrected version number
dghgit Apr 7, 2024
c119919
almost final releasenotes
dghgit Apr 7, 2024
a496b0b
update
dghgit Apr 7, 2024
5b13608
Java 2, Java 3, compatibility updates
dghgit Apr 8, 2024
30c6cc6
Java 1.1 Updates
dghgit Apr 8, 2024
521bb63
rolled back accidental commit.
dghgit Apr 8, 2024
313d368
rolled back accidental commit.
dghgit Apr 8, 2024
002a3ec
rolled back accidental commit.
dghgit Apr 9, 2024
568466c
Add SetHostSocketFactory constructor directly from host string
peterdettman Apr 10, 2024
95e8063
Add PGPPublicKey.hasFingerprint method (reduce allocations)
peterdettman Apr 10, 2024
992b1da
Refactor to use Pack
peterdettman Apr 10, 2024
617c7e6
TLS: Some work on GOST support (RFC 9189)
peterdettman Apr 10, 2024
82b0695
made class more forgiving on ASN.1 encodings
dghgit Apr 16, 2024
9eee64a
OSGi patches - added versioning, verified private packages
dghgit Apr 16, 2024
6768403
marked as 1.78.1
dghgit Apr 16, 2024
089657e
added missing requires
dghgit Apr 16, 2024
ed9b3bc
fixed JCA digest creation fallback
dghgit Apr 16, 2024
699336e
removed use of parameters class
dghgit Apr 16, 2024
15111ec
fixed misspelt method, refactored out some dependent code into correc…
dghgit Apr 16, 2024
aab0af1
removed import of internal classes
dghgit Apr 16, 2024
0c6eba3
added empty extension block test (OCSP)
dghgit Apr 16, 2024
e6b4ba8
Add exception detail message
peterdettman Apr 17, 2024
771d35e
added 1.78.1 details
dghgit Apr 18, 2024
d9954ca
tightened up version compatibility for OSGi
dghgit Apr 18, 2024
c5d4c83
added maxVersion restriction number
dghgit Apr 18, 2024
ada71e4
moved to 1.78.1
dghgit Apr 18, 2024
a8f7e0a
Merge branch '1.78.1' into 'main'
Apr 20, 2024
09baab6
added fallback tests for digest creation in PGP JCA layer
dghgit Apr 20, 2024
8920391
Java 5 to Java 8 BND script
dghgit Apr 20, 2024
2b41780
started move to 1.79
dghgit Apr 21, 2024
ea73791
Merge branch 'bcgit:main' into main
KarolinHem Apr 22, 2024
6759453
Refactoring in tls
peterdettman Apr 23, 2024
541da67
added jakarta dependency to OSGi header
dghgit Apr 24, 2024
0e74ba0
Merge branch 'main' of gitlab.cryptoworkshop.com:root/bc-java
dghgit Apr 24, 2024
69da8f3
Add utility methods to StreamUtil
vanitasvitae Apr 24, 2024
30bcc21
Add HexDumpUtil for formatted test output
vanitasvitae Apr 24, 2024
ee6da85
Add AbstractPacketTest containing DSL for packet-related tests
vanitasvitae Apr 24, 2024
87c7c97
Implement v6 packet parsing for OPS and SignaturePackets
vanitasvitae Apr 24, 2024
fc8adcc
Avoid MPI encoding for Ed25519,Ed448 signatures
vanitasvitae Apr 24, 2024
d97ecd5
Add tests for v6 OPS and SignaturePackets
vanitasvitae Apr 24, 2024
9783a26
initial LICENSE.md
dghgit Apr 25, 2024
ad932aa
Update CONTRIBUTING.md
KarolinHem Apr 25, 2024
649d650
Delete .github/ISSUE_TEMPLATE directory
KarolinHem Apr 25, 2024
d6a0f3a
Delete pull_request_template.md
KarolinHem Apr 25, 2024
a840b23
Changed formatting in security problem Notes
KarolinHem Apr 25, 2024
309e115
Updated Notes on Security Problems
KarolinHem Apr 25, 2024
13cfd02
Improved instanceof check
peterdettman Apr 26, 2024
2aebe15
EC updates from bc-csharp
peterdettman Apr 26, 2024
53ae720
added missing item about PEM parsing change 1.78
dghgit Apr 28, 2024
0b17828
Added OSGI version creation when building snapshots.
mwcw Apr 29, 2024
b7ea58c
Merge branch 'main' of github.com:KarolinHem/bc-java into KarolinHem-…
dghgit Apr 29, 2024
6b29d52
Merge branch 'KarolinHem-main'
dghgit Apr 29, 2024
6323deb
Merge remote-tracking branch 'refs/remotes/origin/main'
dghgit Apr 29, 2024
d279409
changed github relative links to explicit
dghgit Apr 29, 2024
3d2e97b
Refactoring (reduce allocations)
peterdettman Apr 29, 2024
d8bf6e0
Expose version, fingerprint and salt in PGPOnePassSignature
vanitasvitae Apr 29, 2024
78a8b45
Remove unused import
vanitasvitae Apr 30, 2024
d5ddf9f
Fix checkstyle issues
vanitasvitae Apr 30, 2024
f1c54ea
Add FingerprintUtil helper for deriving key-ids from fingerprints
vanitasvitae Apr 30, 2024
a6606e3
Add HashUtils helper for looking up salt sizes for digest algorithms
vanitasvitae Apr 30, 2024
5084a8b
Fix formatting of tests
vanitasvitae Apr 30, 2024
31fe006
added CRLsign check
dghgit May 1, 2024
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
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
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
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
35f3089
Merge branch 'fixKeyConversion' of https://github.com/pgpainless/bc-j…
dghgit May 23, 2024
22f6fec
Merge branch 'pgpainless-fixKeyConversion'
dghgit 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
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
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
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
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
51884e1
server-side OCSP stapling support for TLSv1.2 and TLSv1.3
vladhuma Jul 15, 2024
f9cc1b0
Merge branch 'main' into ocsp-stapling
vladhuma Jul 16, 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
111 changes: 97 additions & 14 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,113 @@
stages:
- check
- build
- test

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:
- "apply_overlay bc-java ./"
- "sh gettestdata.sh"
- ". cienv-17.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_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"
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