Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2024 commits
Select commit Hold shift + click to select a range
c35119b
Merge branch 'crlorentzen-main'
dghgit Dec 24, 2024
489ff7c
added some additional work from TLS fips implementation to nonce sett…
dghgit Dec 24, 2024
a2800e6
Added system property to ignore with faulty extension bytes in OIDs. …
dghgit Dec 26, 2024
e68d93e
added support for the nested form of PBEParameterSpec. Relates to git…
dghgit Dec 26, 2024
432d431
minor reformat.
dghgit Dec 26, 2024
e50a7cc
extended wrong encoding override to deal with github #1639
dghgit Dec 26, 2024
f9ab990
regression test for github #1639
dghgit Dec 26, 2024
6c5bcfb
added support for composite private keys nested in OCTET STRING
dghgit Dec 27, 2024
d84891a
expanded PBE support - relates to github #1846
dghgit Dec 27, 2024
f79f1ab
added extra suppression for test file
dghgit Dec 27, 2024
79a81e2
moved to 1.80
dghgit Dec 29, 2024
833d50f
Java 5 updates.
dghgit Dec 29, 2024
728acd7
Java 4 updates
dghgit Dec 30, 2024
4de7061
added invalid OID override
dghgit Dec 30, 2024
0834cd5
rolled back accidental checkin.
dghgit Dec 30, 2024
b4fe683
rolled back accidental checkin (finally)
dghgit Dec 30, 2024
1f3c4d6
Merge branch 'mail-smime-auth-enveloped' of https://github.com/bukka/…
dghgit Dec 31, 2024
0106cb2
Merge branch 'bukka-mail-smime-auth-enveloped'
dghgit Dec 31, 2024
f9c89f4
minor refactoring, added contributed SMIMEEnvelopedUtil, added suppor…
dghgit Dec 31, 2024
735a9af
relates to github #1791
dghgit Dec 31, 2024
44df36c
Merge branch 'gm-signature-spi' of https://github.com/moonfruit/bc-ja…
dghgit Dec 31, 2024
6141847
Merge branch 'moonfruit-gm-signature-spi'
dghgit Dec 31, 2024
9d750bf
Merge branch 'OpenBSDBCrypt-doc' of https://github.com/Marcono1234/bc…
dghgit Dec 31, 2024
c105395
Merge branch 'Marcono1234-OpenBSDBCrypt-doc'
dghgit Dec 31, 2024
9567b14
clarified UTF-8 line to reflect use of char[] - relates to github #1742
dghgit Dec 31, 2024
112d457
relates to github #1742
dghgit Dec 31, 2024
d20a0d6
checkstyle fix.
dghgit Dec 31, 2024
2c9faf6
Fix GCFB reset after large data
tonywasher Dec 31, 2024
e6fc301
Fix the bug if block size of base in GCFBBlockCipher is not equal to 8.
Jan 2, 2025
9412f85
Modify the comments.
Jan 2, 2025
342a872
Merge branch 'main' of https://github.com/dawmit/bc-java into dawmit-…
Jan 2, 2025
fb1b3fe
Minor changes to Github PR #1842 (EC J-PAKE)
Jan 2, 2025
7c9f835
checkstyle fix
dghgit Jan 2, 2025
29b3da1
Merge branch '22-add-support-for-rfc-9579' into 'main'
dghgit Jan 4, 2025
2f2f61d
added tls/threshold packages
dghgit Jan 4, 2025
9409d79
partial update from git logs
dghgit Jan 4, 2025
c707052
Add tests of Ascon back to AsconTest
Jan 5, 2025
455e44c
TODO: Add tests to cover AEADParameters
Jan 6, 2025
a89da1e
move getMac to AEADBaseEngine, fix the bug related to Grain128AEADEngine
Jan 6, 2025
b6111f5
Add tests on AEADParameters
Jan 6, 2025
54b8279
Rename variables
Jan 6, 2025
26ac00b
Fix issues and use bigEndian to/from long to replace littleEndian in …
Jan 6, 2025
b530e83
Minor change in ISAPEngine
Jan 6, 2025
94607c5
Reformatting in tls
peterdettman Jan 6, 2025
a912b69
Cleanup TLS 1.2 GCM nonce generator stuff
peterdettman Jan 6, 2025
ced3d33
Merge branch 'main' into 1958-aead-parameters
Jan 7, 2025
620a01a
Change XoodyakEngine.message from ByteArrayOutputStream to byte[]
Jan 8, 2025
d21634c
Fix a bug when messageOff>Rkout in XoodyakEngine.
Jan 8, 2025
806a465
Set aad from ByteArrayOutputStream into byte[Rkin] for XoodyakEngine.…
Jan 8, 2025
0098895
Fix the bug in CipherTest.checkAEADParemeter
Jan 8, 2025
c9b07f6
Change PhotonBeetleEngine.aadData from ByteArrayOutputStream to byte[…
Jan 8, 2025
8161aa7
TODO: Fix the bug in PhotonBeetleEngine
Jan 8, 2025
3135e29
TODO: Fix the bug in PhotonBeetleEngine
Jan 8, 2025
44ed712
Fix the bug in PhotonBeetleEngine
Jan 8, 2025
dcf93ea
Fix elephantEngine for multiPart encryption/decryption
tonywasher Jan 5, 2025
1d5735c
Change ISAPEngine.aadData from ByteArrayOutputStream to byte[ISAP_rH_SZ]
Jan 9, 2025
f8336dc
rename ISAPEngine.aadData to buffer. absorb all aad data before proce…
Jan 9, 2025
aa4a965
Refactor on isap_mac
Jan 9, 2025
d40db8a
Remove message, outputStream from ISAPEngine.
Jan 9, 2025
b3f40e3
Merge aadData and message of XoodyakEngine into one byte array
Jan 9, 2025
1613cc3
Fix the bug in AsconAEAD128. Prepare for AEADBufferBaseEngine in Xood…
Jan 9, 2025
6971a97
added support for SHA2/SHA3/KMAC key storage and retrieval
dghgit Jan 9, 2025
e15ae8e
Merge branch 'main' into 1958-aead-parameters
Jan 9, 2025
153526f
Extract common code from PhotonBeetleEngine and XoodyakEngine to form…
Jan 10, 2025
68b9f5e
TLS: GCM nonce mechanism now needs custom JcaTlsCrypto
peterdettman Jan 10, 2025
d31da08
ISAPEngine is inherited from AEADBufferBaseEngine
Jan 10, 2025
760c99c
Refactor EC J-PAKE
peterdettman Jan 10, 2025
6dbdfb4
Fix parameter name
peterdettman Jan 10, 2025
bce43d1
Refactor on AEADBufferBaseEngine, and prepare to make SparkleEngine i…
Jan 10, 2025
d2f95c9
Refactor on AEADBufferBaseEngine, and prepare to make SparkleEngine i…
Jan 11, 2025
0ea0a5e
Resolve merge conflict
Jan 11, 2025
3c0c6e1
BCJSSE: Refactor more of ProvSSLContextSpi into ContextData
peterdettman Jan 11, 2025
cc8f38f
added missing method to Java 9 GCMUtil class.
dghgit Jan 11, 2025
ed1208c
moved missing method to Java 9 GCMFipsUtil class.
dghgit Jan 11, 2025
3b0be50
moved nonce generator method to GCMFipsUtil class (avoid dup in Java …
dghgit Jan 11, 2025
b4fbdac
Merge branch '1953-gcfb-large-data' into 'main'
dghgit Jan 11, 2025
1c03754
Merge branch 'main' into 1958-aead-parameters
dghgit Jan 11, 2025
11a6acd
removed use of Assert
dghgit Jan 11, 2025
c6d4782
removed use of Assert
dghgit Jan 11, 2025
7ac56ca
fixed method permissions.
dghgit Jan 11, 2025
b9cb354
adjusted test for expired certificate.
dghgit Jan 11, 2025
56d4f6f
removed Assert
dghgit Jan 11, 2025
ff9908f
Merge branch 'main' into 1958-aead-parameters
dghgit Jan 11, 2025
76cc096
dealt with properties encoding issue - relates to github #1660
dghgit Jan 11, 2025
3d0c6a4
added jmail mention
dghgit Jan 11, 2025
25a49a4
added check for corrupted stream and escaping NullPointer - relates t…
dghgit Jan 11, 2025
4c40f99
removed use of Assert.
dghgit Jan 11, 2025
e404498
Added some more corrupt inputs - relates to github #1888
dghgit Jan 11, 2025
811083a
Add tests to CipherTest, fix the bug in AEADBufferBaseEngine.processB…
Jan 12, 2025
ac52173
Fix the bug in AEADBufferBaseEngine.processBytes when MAC_SIZE>BlockSize
Jan 12, 2025
dfa92b8
Merge branch '1958-aead-parameters' into 'main'
dghgit Jan 12, 2025
fe144d1
Check return value
peterdettman Jan 13, 2025
7ca0f30
Update release notes
peterdettman Jan 13, 2025
daaf1f7
Added missing cast checks of PKCS12BagAttributeCarrier
dghgit Jan 13, 2025
f31f690
added removed properties copying (file corruption by copy issue)
dghgit Jan 13, 2025
7cc8bf6
updates from github
dghgit Jan 13, 2025
928626d
Abstract core KEM functionality out of DHKEM 2/2
jmcrawford45 Jan 13, 2025
0e3b490
minor re-org
dghgit Jan 13, 2025
2815611
Java 1.4 compatibility
dghgit Jan 13, 2025
5e84519
minor clean up.
dghgit Jan 14, 2025
9a36e56
Merge branch 'patch-1' of https://github.com/jmcrawford45/bc-java int…
dghgit Jan 14, 2025
c9d83fb
Merge branch 'jmcrawford45-patch-1'
dghgit Jan 14, 2025
8a81f6c
fixed patch..
dghgit Jan 14, 2025
29f141a
added additional suppressions
dghgit Jan 14, 2025
5ce0d4d
added additional suppressions
dghgit Jan 14, 2025
a19343d
Lowered tls logs to match the changes
Jan 17, 2025
e761671
added null check for algorithms (relates to github #1895)
dghgit Jan 18, 2025
9edd166
Merge branch 'main' of gitlab.cryptoworkshop.com:root/bc-java
dghgit Jan 18, 2025
c808b0a
TLS: Initial work on draft-tls-westerbaan-mldsa-00
peterdettman Jan 20, 2025
12bf4c2
Add validatilon methods to Arrays
peterdettman Jan 20, 2025
6e801d1
Fix the bug in ShamirSecretSplitterTest.testShamirSecretMultipleDivid…
Jan 21, 2025
24797f6
Update of PQC key encodings for ML-KEM and ML-DSA (no encoding preser…
dghgit Jan 21, 2025
8b813e1
Refactoring in crypto.hpke
peterdettman Jan 21, 2025
7b87489
Fix checkstyle complaining about non-static inner classes
vanitasvitae Jan 22, 2025
ee16879
Fixed MLS test: converted encoded P521 private keys to match required…
Jan 22, 2025
6fd0964
More work in crypto.hpke
peterdettman Jan 23, 2025
32608c8
Add Extensions helpers
peterdettman Jan 23, 2025
075a7bb
Simplify adding oracle trusted key usage attribute
peterdettman Jan 23, 2025
54661c8
Refactoring in openpgp.operator.bc
peterdettman Jan 23, 2025
b949a8f
Refactoring in legacy McEliece
peterdettman Jan 24, 2025
85493d1
Update legacy (and old JDK) X509SignatureUtil
peterdettman Jan 24, 2025
b77d970
Refactor extensions code in X.509 types
peterdettman Jan 24, 2025
4ed7d13
Refactoring in pqc.crypto.mldsa
peterdettman Jan 29, 2025
bee6734
Refactoring in tls.crypto.impl
peterdettman Jan 29, 2025
2ff41de
Merge remote-tracking branch 'pgpainless/fixCheckstyle' into 1976-pg-…
Jan 30, 2025
fa56eaa
Merge branch '1976-pg-fixcheckstyle' into 'main'
ligefeiBouncycastle Jan 30, 2025
b11ddb0
TODO: try to get the correct q
Jan 30, 2025
d53a732
hashToIntegerRange is correct. TODO: fix the curve definition and pai…
Jan 31, 2025
79e72d3
Fix step 3.
Jan 31, 2025
5174843
added exception check on UTF8 parsing to prevent escaping exceptions.
dghgit Jan 31, 2025
9d823e3
Merge branch 'main' of gitlab.cryptoworkshop.com:root/bc-java
dghgit Jan 31, 2025
8ee89a4
modified to use JCA.
dghgit Jan 31, 2025
502fddd
changed methods to private
dghgit Jan 31, 2025
2a4ec8a
added use of local helper.
dghgit Feb 1, 2025
0ea89a4
added encoding preservation for ML-DSA, ML-KEM, added property for tr…
dghgit Feb 3, 2025
f8afa1f
TODO fix the bugs in SAKKEKEMExtractor
Feb 3, 2025
76d616d
added private key with public key test.
dghgit Feb 4, 2025
bf356f5
TODO pairing
Feb 4, 2025
b75fe36
Pass the test vector of SAKKE
Feb 5, 2025
96ef694
TODO: SAKKEKEMSGenerator and parameter settings
Feb 5, 2025
d404477
Remove unused functions. Format the code
Feb 5, 2025
7e41e48
minor formatting
dghgit Feb 6, 2025
0aa9d1c
minor formatting
dghgit Feb 6, 2025
c6e2abd
Set teh parameter settings of SAKKE
Feb 6, 2025
4abc7af
Let EC J-PAKE work with custom curves
peterdettman Feb 6, 2025
4189cec
Tolerate custom EC curves
peterdettman Feb 6, 2025
3559d88
Use custom curves in DualEC, FWIW
peterdettman Feb 6, 2025
463c9c6
Add javadoc and add random tests.
Feb 7, 2025
baffe64
Add key pair check in SAKKEPrivateKeyParameters.
Feb 7, 2025
6655590
Merge branch 'main' into rfc-6508-sakke
Feb 7, 2025
0957887
Test the code of Jasypt
Feb 7, 2025
f13def6
Merge branch 'main' of gitlab.cryptoworkshop.com:root/bc-java
dghgit Feb 7, 2025
7cf6f5b
Test the code of Jasypt
Feb 8, 2025
66f21aa
Fix the issue and add test for #1985
Feb 10, 2025
9706d9a
dealt with expiring certificate in test
dghgit Feb 10, 2025
0ca1892
dealt with expiring certificate in test
dghgit Feb 10, 2025
b641d60
Merge branch 'main' into 1985-pbe-generator
Feb 10, 2025
32f1a1d
Merge branch '1985-pbe-generator' into 'main'
dghgit Feb 11, 2025
de1894d
Java 4 update
dghgit Feb 11, 2025
0b6d399
fixed checkstyle issue, initial experiment with ML-DSA seed files
dghgit Feb 11, 2025
7c22ce9
fixed checkstyle issue, initial experiment with ML-DSA seed files
dghgit Feb 11, 2025
e0cc328
Add setProvider in JcaSimpleSignerInfoVerifierBuilder for PQCSignedDa…
Feb 13, 2025
de7af47
SecretKeyPacket: Properly pass newPacketFormat down to PublicKeyPacket
vanitasvitae Feb 13, 2025
a3bde4e
PKIX: refactoring around CertPath validation
peterdettman Feb 13, 2025
fae8c45
Merge remote-tracking branch 'pgpainless/newPacketFormat' into 1993-s…
Feb 18, 2025
aa6df2d
Merge branch 'main' into rfc-6508-sakke
Feb 18, 2025
9c17ca7
Add ECCSI key generator process
Feb 18, 2025
fc91cf4
Confirm delta CRLs before skipping CRLDP
peterdettman Feb 18, 2025
b477c17
Pass the test vector of ECCSISigner
Feb 19, 2025
85f7da1
Merge branch 'main' into rfc-6508-sakke
Feb 19, 2025
3965623
Add support for different curves
Feb 20, 2025
6f8ca1a
Add java doc and more tests with different digests
Feb 20, 2025
de0a5c9
Add java doc
Feb 20, 2025
1ce9479
added support for CHOICE private key encoding.
dghgit Feb 21, 2025
86381da
Merge branch 'main' of gitlab.cryptoworkshop.com:root/bc-java
dghgit Feb 21, 2025
7822234
updated parsing to handle CHOICE in ML-DSA.
dghgit Feb 21, 2025
2e96d8e
partial update to new key encoding
dghgit Feb 21, 2025
ce4aeba
added choice key encodings similar to ML-DSA
dghgit Feb 21, 2025
d6af532
moved pubKey test for ML-DSA to apply to both encodings.
dghgit Feb 24, 2025
ca4632b
added both check for key/seed verification for ML-KEM and ML-DSA.
dghgit Feb 24, 2025
3804f98
corrected use of BOTH in MLKEMPrivateKeyParameters.
dghgit Feb 24, 2025
0b48ab0
commented out old-format encodings (earlier beta)
dghgit Feb 24, 2025
6ce85f4
Add HOWTO.md
Feb 25, 2025
5af657e
added support for id-alg-noSignature
dghgit Feb 25, 2025
56ac45a
Merge branch 'main' of gitlab.cryptoworkshop.com:root/bc-java
dghgit Feb 25, 2025
35eabaa
Refactor X9ECParameters
peterdettman Feb 25, 2025
761d964
Add getQ to ECCurve.AbstractFp
peterdettman Feb 25, 2025
7b5e242
Added module export / require validation to check stage
mwcw Feb 26, 2025
656f00a
Merge branch 'main' of gitlab.cryptoworkshop.com:root/bc-java
mwcw Feb 26, 2025
cf561fb
Removed unnecessary rebuild in check_java.sh
mwcw Feb 26, 2025
aac5f3e
added test for trustAnchor using id-alg-noSignature
dghgit Feb 26, 2025
09976f2
Merge branch 'main' of gitlab.cryptoworkshop.com:root/bc-java
dghgit Feb 26, 2025
fa78d66
Pass Key Pair Generation of Mayo
Feb 27, 2025
bab5138
Migrate tls test data to bc-test-data
peterdettman Feb 28, 2025
e356f4a
Pass all test vectors of Mayo
Mar 3, 2025
01dbe52
Refactor for Mayo
Mar 3, 2025
d1b1204
Refactor for Mayo
Mar 3, 2025
7a48919
Refactor for Mayo
Mar 3, 2025
bec5d19
Refactor for Mayo
Mar 3, 2025
13d5a19
Add Mayo to PQC Provider
Mar 4, 2025
76a597b
Add Mayo to PQC Provider
Mar 4, 2025
025f99d
Refactor of Mayo
Mar 4, 2025
50f0914
Refactor of Mayo
Mar 4, 2025
fa20a56
added support for rfc9579 (PBMAC1 with PBKDF2) to PKCS12KeyStoreSpi
Jan 16, 2025
d1183b3
added save tests to testPBMac1PBKdf2 test
Jan 21, 2025
9ef9e78
Refactor of Mayo
Mar 4, 2025
8b7bf52
Use Arrays.areEqual
peterdettman Mar 4, 2025
e78fa25
Refactor of MayoParameters
Mar 4, 2025
d54df59
Add java doc for the two main classes of Mayo
Mar 5, 2025
6c50207
PGPSignatureSubpacketGenerator: setXYZ() now removes duplicates.
vanitasvitae Mar 5, 2025
238da58
Merge branch '22-add-support-for-rfc-9579' into 'main'
dghgit Mar 6, 2025
cf05a00
added PKCS#10 PQC tests.
dghgit Mar 7, 2025
0db98d9
Fix the bug of ParallelHash that block size is set to 0.
Mar 7, 2025
6da0f6e
Merge remote-tracking branch 'pgpainless/setSubpacketAvoidDuplicates'…
Mar 7, 2025
ad11e9b
Refactor of decode (which can be re-used in Snova).
Mar 7, 2025
d42abde
updated for tls change
dghgit Mar 7, 2025
3a2c2d7
updated for tls change
dghgit Mar 7, 2025
81b4930
updated for tls change
dghgit Mar 7, 2025
95e67cd
Merge branch '2006-parallelhash-0-blocksize' into 'main'
dghgit Mar 9, 2025
2c4f6f8
Merge branch '2013-openpgp-pgpsignaturesubpacketgenerator' into 'main'
dghgit Mar 9, 2025
7924ec4
Merge branch 'main' into pqc-mayo
Mar 9, 2025
9d39e6f
Array clone of Mayo Key parameters. Remove Mayo from BouncyCastleProv…
Mar 9, 2025
0e88a50
Add Mayo to BouncyCastleProvider
Mar 9, 2025
5989d52
Merge branch '1993-secretkeypacket-newpacketformat' into 'main'
dghgit Mar 9, 2025
f4a2618
TODO: try to get the correct q
Jan 30, 2025
b69dd73
hashToIntegerRange is correct. TODO: fix the curve definition and pai…
Jan 31, 2025
d53e3ab
Fix step 3.
Jan 31, 2025
2434c1c
TODO fix the bugs in SAKKEKEMExtractor
Feb 3, 2025
a9c7179
TODO pairing
Feb 4, 2025
cc77eaf
Pass the test vector of SAKKE
Feb 5, 2025
50c84da
TODO: SAKKEKEMSGenerator and parameter settings
Feb 5, 2025
1fdc823
Remove unused functions. Format the code
Feb 5, 2025
2613693
Set teh parameter settings of SAKKE
Feb 6, 2025
68c3816
Add javadoc and add random tests.
Feb 7, 2025
3b6cab0
Add key pair check in SAKKEPrivateKeyParameters.
Feb 7, 2025
b05a7b5
Add ECCSI key generator process
Feb 18, 2025
9cb941f
Pass the test vector of ECCSISigner
Feb 19, 2025
3d3ca2d
Add support for different curves
Feb 20, 2025
3e09351
Add java doc and more tests with different digests
Feb 20, 2025
cd39549
Add java doc
Feb 20, 2025
4bfc1d7
change new BigInteger(n, random) to BigIntegers.createRandomBigInteger
Mar 9, 2025
1c274da
Merge remote-tracking branch 'origin/rfc-6508-sakke' into rfc-6508-sakke
Mar 9, 2025
0df73aa
Merge branch 'pqc-mayo' into 'main'
dghgit Mar 9, 2025
5435fb0
Merge branch 'main' into rfc-6508-sakke
Mar 9, 2025
5878317
Merge branch 'rfc-6508-sakke' into 'main'
dghgit Mar 10, 2025
7dadecd
removed use of JUnit from simple test.
dghgit Mar 10, 2025
a5c27a4
Cleanup array comparisons in tests
peterdettman Mar 10, 2025
bffd6a7
TLS: Update ML-KEM codepoints
peterdettman Mar 10, 2025
0f08ecd
added PKCS12 example using PBMac1
dghgit Mar 10, 2025
514cead
reduce number of Error Prone warnings and some other IDE warnings
winfriedgerlach Mar 13, 2025
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
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ jobs:
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.

# - run: |
echo "Run, Build Application using script"
gradle clean build
# echo "Run, Build Application using script"
# gradle clean build

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
Expand Down
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
75 changes: 56 additions & 19 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,67 @@
stages:
- check
- build
- test
- publish
- sync

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

test-code-8:
stage: 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:
- "apply_overlay bc-java ./"
- "sh gettestdata.sh"
- ". cienv-8.sh; \ gradle -stacktrace clean build;"

test-code-11:
- "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:
stage: test
needs: [ "check-code" ]
script:
- "apply_overlay bc-java ./"
- "sh gettestdata.sh"
- ". cienv-11.sh; \ gradle -stacktrace clean build;"

test-code-17:
stage: test
- "ecr_login"
- "ecr_pull vm_base_intel latest"
- "ci_docker_run \"vm_base_intel:latest\" \"bc-java\" \"/workspace/bc-java/ci/test.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"


publish:
stage: publish
script:
- "apply_overlay bc-java-pub ./"
- "ecr_login"
- "ecr_pull vm_base_intel latest"
- "ci_docker_run \"vm_base_intel:latest\" \"bc-java\" \"/workspace/bc-java/ci/pub.sh\""

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