Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2401 commits
Select commit Hold shift + click to select a range
7f0c8f6
TODO: fix the bugs for packing sk of Snova.
Mar 17, 2025
fe895bf
Merge branch 'suppress-lint-warning-trustmanager' of github.com:HawkI…
dghgit Mar 18, 2025
d3ae95d
Merge branch 'HawkItzme-suppress-lint-warning-trustmanager'
dghgit Mar 18, 2025
e424fa5
corrected table inclusion - relates to github #2027
dghgit Mar 18, 2025
05f25fb
update
dghgit Mar 18, 2025
7acda24
TODO: Fix the bug in generating SNOVA_24_5_5_ESK public key
Mar 18, 2025
2670274
Misc. pkix refactoring
peterdettman Mar 18, 2025
da4636f
Refactoring in jce.provider.test:
peterdettman Mar 18, 2025
72513f2
Optimise extra ascon rounds between outputs
tonywasher Mar 18, 2025
75c2f1a
Refactor ASN1Dump
peterdettman Mar 18, 2025
537dc07
Merge remote-tracking branch 'tonywasher/AsconMultiXof' into 2030-asc…
Mar 18, 2025
eb6bf9c
Initial push of the branch for #2029
Mar 18, 2025
fa0d3ae
Add //-DM Hex.toHexString to ASN1Dump
Mar 18, 2025
e0ba6c2
Fix the bugs that ASCON Xof does not support multi-part outputs based…
Mar 19, 2025
9491ae7
Merge branch 'main' into pqc-snova
Mar 19, 2025
45c8e3f
Add a test case for HQCTest
Mar 19, 2025
7b5f81f
TODO finish copyTo in MapGroup1 and replace MapGroup1.encodeP in line…
Mar 19, 2025
16ba11a
Fix the bug in ReedSolomon
Mar 19, 2025
07ba85d
Merge branch 'hqc-checksum-fail' into 'main'
ligefeiBouncycastle Mar 19, 2025
1afbabd
TODO: fix the bug for l = 3
Mar 19, 2025
e70b6af
Merge branch 'main' into 2030-asconxof
Mar 19, 2025
aca4bd3
Fix the AsconCXof128 based on #2032 code
Mar 19, 2025
c870c30
Merge branch 'main' into grain128-aead-update
Mar 19, 2025
a22c827
Merge branch 'main' into pqc-snova
Mar 19, 2025
8fe3792
TODO: fix the line 216 of SnovaKeyPairGenerator
Mar 20, 2025
1752dbf
CMS: Basic tests for ML-DSA SignedData examples
peterdettman Mar 20, 2025
214991d
Pass key generation of Snova.
Mar 20, 2025
e47b4c9
Merge branch 'main' into pqc-snova
Mar 20, 2025
8da0e88
Correct the SnovaParmeters for v=16, o=15, l=3.
Mar 20, 2025
fa670c7
Merge branch '2030-asconxof' into 'main'
dghgit Mar 21, 2025
f726873
Merge branch 'grain128-aead-update' into 'main'
dghgit Mar 21, 2025
1503a6c
added support for external-mu
dghgit Mar 21, 2025
9c24366
Merge branch 'main' into pqc-snova
Mar 21, 2025
9ec242f
generalized proxy private key public key usage.
dghgit Mar 21, 2025
c30fd65
missing file - mu bounds checking
dghgit Mar 21, 2025
6cbd530
TODO: SnovaSigner
Mar 21, 2025
508dbf9
Add BcHssLmsContentSignerBuilder
Feb 14, 2025
15c5a96
Add some ObjectIdentifier. Pass the test for HSS signer.
Feb 17, 2025
31b0702
Pass the test for LMS signer.
Feb 17, 2025
1f1e6d8
Change LMSParameters[] in testCheckCreationHss
Feb 17, 2025
9e25ed9
Add javadoc for BcHssLmsContentSignerBuilder and BcHssLmsContentVerif…
Feb 18, 2025
0e8573c
Merge branch 'main' into pqc-snova
Mar 24, 2025
8756876
Merge branch 'rfc9708-cms-hss-lms' into 'main'
dghgit Mar 24, 2025
316c2a4
removed dependency on PQC PublicKeyFactory.
dghgit Mar 24, 2025
cff8aa0
TODO: signDigestCore
Mar 24, 2025
e2df273
Grain128AEADEngine: fix DER length encoding for AAD lengths > 255
peterdettman Mar 24, 2025
d02fceb
Ascon: more thorough multi-output XOF tests
peterdettman Mar 24, 2025
78cb999
Fix exception type
peterdettman Mar 24, 2025
c6b4ab0
Optimize AsconCXof128 init for simple case
peterdettman Mar 24, 2025
3b57d98
Fix naming
peterdettman Mar 24, 2025
8b4326f
Include external signer verification test
peterdettman Mar 24, 2025
54b3283
TODO: Evaluate vinegar part of central map
Mar 25, 2025
32a9232
Pass the test vectors for signing of Snova.
Mar 26, 2025
4380c3a
Merge branch 'main' into pqc-snova
Mar 26, 2025
465731d
Pass all test vectors of Snova
Mar 27, 2025
2504593
Remove unused code
Mar 27, 2025
35349ab
added extra doFinal test (relates to github #2035)
dghgit Mar 27, 2025
8954c62
Merge branch 'main' of gitlab.cryptoworkshop.com:root/bc-java
dghgit Mar 27, 2025
55bea31
Initial fix in DefaultBufferedBlockCipher
Mar 27, 2025
96a59e6
Refactor in verifySignatureCore
Mar 27, 2025
64026c2
Simplify the fix
Mar 27, 2025
67fb4d8
Fix #2035 issue in AEADBaseEngine.
Mar 27, 2025
4e80c99
Fix input/output overlapping in PaddedBufferedBlockCipher
Mar 27, 2025
2214d2d
TODO: Fix the bug in Romulus-M
Mar 27, 2025
0161def
Fix the bug in Romulus-M
Mar 27, 2025
d3ed581
Refactor in snovaShake
Mar 27, 2025
7d4df68
Refactor in SnovaEngine
Mar 27, 2025
d80712e
Merge branch '2035-io-overlap' into io-overlap-aead
Mar 27, 2025
89286d2
Fix the issues in BufferedBlockCipher and CTSBlockCipher
Mar 27, 2025
9ed602e
Update segmentsOverlap
Mar 28, 2025
4a369f0
Fix KXTSBlockCipher
Mar 28, 2025
07bb6a3
Fix NISTCTSBlockCipher and OldCTSBlockCipher
Mar 28, 2025
b524d1e
Remove GF16Utils.add
Mar 28, 2025
8cbbf61
Refactor of determinant4x4
Mar 28, 2025
de9c7b8
Refactor of SnovaSigner
Mar 29, 2025
4ec69f2
input/output overlap for DefaultBufferedBlockCipher and PaddedBuffere…
ligefeiBouncycastle Mar 29, 2025
afbde47
Merge branch '2035-io-overlap' into 'main'
dghgit Mar 29, 2025
7868d58
fix in DefaultMultiBlockCipher
Mar 30, 2025
4f8ede4
Merge branch 'main' into io-overlap-dbbc-child
Mar 30, 2025
b4133b9
Add test for DefaultMultiBlockCipher
Mar 30, 2025
212f3fe
Io overlap dbbc child
ligefeiBouncycastle Mar 31, 2025
1e78389
Merge branch 'io-overlap-dbbc-child' into 'main'
dghgit Mar 31, 2025
ff08d4a
GF16
Mar 31, 2025
494e40b
Merge branch 'main' into pqc-snova
Apr 1, 2025
1bb0a76
Try to refactor MapGroup1.
Apr 1, 2025
26783d5
Add more constant values.
Apr 1, 2025
a1544a8
Remove PublicKey class from Snova
Apr 1, 2025
26ce10e
Reduce the size of SnovaKeyElements
Apr 1, 2025
8e1bb62
Merge branch 'main' into io-overlap-dbbc-child
Apr 2, 2025
7bb88a6
Update AEAD modes
Apr 2, 2025
9dda406
TODO: add Snova to PQC Provider
Apr 2, 2025
e23335e
Refactor on Snova is almost done
Apr 3, 2025
98409a8
Refactor on Snova
Apr 3, 2025
9d609da
Add Snova to PQC provider
Apr 4, 2025
f76b52a
replace Mayo.GF16Utils.inverseF with GF16.inv
Apr 4, 2025
bfa82f1
Minor changes in GF16.encode
Apr 4, 2025
c4523c8
Fix the input/output issue in ChaCha20Poly1305
Apr 4, 2025
027f515
Restore testKeyFactory
peterdettman Apr 4, 2025
9077f2f
cleaned up use of prototype seed only OID.
dghgit Apr 6, 2025
15291dc
Update parameter names
peterdettman Apr 7, 2025
46e0360
Refactor NewSignedDataTest
peterdettman Apr 7, 2025
823cbd9
Update OQS OIDs (falcon etc).
Apr 8, 2025
1e3cf00
Remove duplicated SphincsPlust OIDs
Apr 8, 2025
4200648
Add the test of OQS OIDs
Apr 8, 2025
09b0db7
Refactor of Falcon code
Apr 8, 2025
d01a0d6
Initial push of the branch
Apr 8, 2025
f82ae92
Merge branch 'main' into pqc-snova
Apr 10, 2025
1b1a40f
Add SnovaTest to jcajce.provider.test
Apr 10, 2025
220a315
Fixed typo in GMSSRootSig.java
oscerd Apr 11, 2025
7ec58ff
added constraint check on "only*Certs" fields plus test for same. Rel…
dghgit Apr 11, 2025
bdb1016
added KeyStore test for new MAC algorithm
dghgit Apr 11, 2025
89fc6f4
Merge branch 'main' of gitlab.cryptoworkshop.com:root/bc-java
dghgit Apr 11, 2025
7bc638a
Refactor PQC private key parsing
peterdettman Apr 13, 2025
ad54856
Refactoring in tsp
peterdettman Apr 13, 2025
4e2ec8b
New ASN1Util methods to help with CHOICE types
peterdettman Apr 14, 2025
dbd3462
Refactor DistributionPointName
peterdettman Apr 14, 2025
f4295a4
BCJSSE: Strip trailing dot from hostname for SNI, endpointID checks
peterdettman Apr 15, 2025
6689bc9
Update HandshakeType values
peterdettman Apr 15, 2025
bd4dccc
Example SLH-DSA credentials from draft-ietf-lamps-x509-slhdsa-04
peterdettman Apr 16, 2025
242f960
Merge related test cases
peterdettman Apr 16, 2025
14f3c26
CMS: Prepare SLH-DSA tests (not working yet)
peterdettman Apr 16, 2025
07b1001
Minor update in comments
peterdettman Apr 18, 2025
ffa16b1
Fix fieldID init in X9ECParameters
peterdettman Apr 18, 2025
aabba7e
Merge branch '1911-0-1-keyIdentifier' into 'main'
dghgit Apr 20, 2025
5452a1a
Merge branch 'falcon-code-update' into 'main'
dghgit Apr 20, 2025
547257e
Merge branch '2046-falcon-oqs-oids-update' into 'main'
dghgit Apr 20, 2025
8c13a64
Merge branch 'main' into pqc-snova
Apr 20, 2025
e8cc790
Merge branch 'pqc-snova' into 'main'
dghgit Apr 20, 2025
f84cdc7
removed legacy rainbow, moved gemss to legacy
dghgit Apr 20, 2025
c564435
Update AEADProtectedPGPSecretKeyTest
ligefeiBouncycastle Apr 20, 2025
0d7dd97
Merge branch '1911-0-2-aead-protected-pgp-secretkey-test' into 'main'
dghgit Apr 20, 2025
7f073f7
Merge branch 'io-overlap-dbbc-child' into 'main'
dghgit Apr 20, 2025
f0f6072
Java 4 compatibility.
dghgit Apr 21, 2025
fc496aa
Merge branch 'main' of gitlab.cryptoworkshop.com:root/bc-java
dghgit Apr 21, 2025
095e0cc
OpenPGP API Phase 1
ligefeiBouncycastle Apr 22, 2025
cb76e2e
Merge branch '1911-1-v6-keygen' into 'main'
dghgit Apr 22, 2025
c6d6af4
Complete code of jcajce part on cms for chacha20-poly1305
Apr 24, 2025
3e31062
added valid date for CheckNameConstraintsTest
dghgit Apr 24, 2025
e1aec63
Merge branch 'main' of gitlab.cryptoworkshop.com:root/bc-java
dghgit Apr 24, 2025
b0daf63
Merge branch 'main' into rfc-8103-1-jcajce
Apr 24, 2025
e3fa081
Add a test for Chacha20-Poly1305 in SMIME
Apr 24, 2025
eb83ae5
Merge branch 'rfc-8103-1-jcajce' into 'main'
dghgit Apr 24, 2025
46a9228
moved CMS mod OIDs to PKCS object identifiers.
dghgit Apr 24, 2025
2f4d33d
added additional overlap test.
dghgit Apr 24, 2025
701b2bf
Keep PBMAC1s PBKDF2 PRF when initializing from protectionAlgorithm. C…
mt-johan May 1, 2025
2984a38
Javadoc escape chars
peterdettman May 6, 2025
0211400
Use test sampling with SNOVA
peterdettman May 6, 2025
25b4969
IntelliJ .gitignore updates
peterdettman May 6, 2025
de3da9f
Use a new TestSampler per file/group
peterdettman May 6, 2025
1545fc7
Fix expected exception message
peterdettman May 6, 2025
3727805
Allow CRLF line endings in some PGP tests
peterdettman May 6, 2025
233706c
Remove unused code
peterdettman May 8, 2025
b5fa6ab
Add KemUtil class
peterdettman May 8, 2025
b031bf3
Move TODOs in to KemUtil
peterdettman May 8, 2025
0b0c782
Fix tabs
peterdettman May 8, 2025
4934195
Formatting
peterdettman May 8, 2025
ff55bc9
added support for altProvider for the named mode ("," separated). Use…
dghgit May 8, 2025
7626743
added support for PKCS#11 alt provider for EC TLS 1.3
dghgit May 8, 2025
8d0ff57
Followup alt provider changes
peterdettman May 12, 2025
a35bbd2
replaced internal ML-KEM usage in JcaTlsCrypto with JCE providers
May 12, 2025
eb9e2bd
Merge remote-tracking branch 'origin/main'
May 12, 2025
7f1ca8b
Fix potential NPE
peterdettman May 13, 2025
af941f3
Cleanup tls.crypto domain classes
peterdettman May 13, 2025
7ab2616
TLS test cleanup
peterdettman May 13, 2025
0379120
Add a few fatal alert detail messages
peterdettman May 14, 2025
e378985
Use proper 'public' API
peterdettman May 14, 2025
1778ccf
Test for empty X500Name equality
peterdettman May 15, 2025
e855013
Add to javadoc a pointer to SMIMESignedParser in case of large data.
peterdettman May 17, 2025
2bc0300
update PGPKeyPairGeneratorTest
May 20, 2025
de7a2f0
Clarify tagging of certIssuer field (CHOICE type)
peterdettman May 22, 2025
5184b26
Extra tests for signed-data properties
peterdettman May 22, 2025
e3692ee
Clarify dependency b/w getSessionToResume and getCipherSuites
peterdettman May 22, 2025
f997cf8
Merge branch '1911-2-keypairgenerator' into 'main'
dghgit May 24, 2025
e797ed1
removed import of ECUtil
dghgit May 24, 2025
5d5c196
Signature Packet format fixes #2078
ligefeiBouncycastle May 24, 2025
c70e8cd
Merge branch '2078-openpgp-signature-packet-format' into 'main'
dghgit May 24, 2025
778c040
Java 4, Java 5 compatibility changes. Minor cleanups.
dghgit May 24, 2025
afbf75c
Typo and cast fix.
dghgit May 24, 2025
1bfddfe
Java 5 to Java 8 compatibility fixes.
dghgit May 25, 2025
8c9500f
Java 5 to Java 8 compatibility fixes.
dghgit May 25, 2025
60afb39
Java 5 to Java 8 compatibility fixes.
dghgit May 25, 2025
691ddc7
Java 4 compatibility fixes.
dghgit May 25, 2025
8d2d9d4
Fix the issue in OpenPGPSignature
May 25, 2025
dbd95ef
Merge remote-tracking branch 'origin/main'
May 25, 2025
b2d7832
Java 4 compatibility fixes.
dghgit May 25, 2025
70c767a
Refactor of OpenPGPCertificate.getSince
May 25, 2025
5944b0c
added mayo/snova
dghgit May 25, 2025
6a62b22
Updated provider version numbers.
dghgit May 25, 2025
2ea1d94
Merge branch 'main' into openpgp-certificate-refactor
May 26, 2025
2421ab9
Rename JVMVersionTestProv to JVMVersionTest
May 26, 2025
32dab66
TLS: Cleanup JCA ML-KEM code
peterdettman May 26, 2025
800e5f1
Java 5 updates.
dghgit May 26, 2025
42a4b26
Merge branch 'openpgp-certificate-refactor' into 'main'
dghgit May 26, 2025
1ac8c02
TLS: Cleanup KEM tests
peterdettman May 26, 2025
146c93a
TLS: low-level hybrid ECDHE-MLKEM
peterdettman May 26, 2025
87f6317
TLS: negotiate group before looking for early share
peterdettman May 27, 2025
dcdbca5
TLS: 1.3 server may send supported_groups
peterdettman May 27, 2025
4fc041f
Add ASN1TaggedObject getOptional methods
peterdettman May 27, 2025
14d0a87
Refactor the sending of server supported groups
peterdettman May 27, 2025
ec1a2cd
AbstractOpenPGPDocumentSignatureGenerator.getPreferredHashAlgorithm
ligefeiBouncycastle May 27, 2025
23183cc
Merge branch 'openpgp-api-refactor' into 'main'
dghgit May 27, 2025
6aa5b57
BCJSSE: Support hybrid ECDHE-MLKEM groups
peterdettman May 27, 2025
62bd4d4
useCipherSuitesOrder should default to false
peterdettman May 27, 2025
da49073
BCJSSE: optionally prefer server's supported_groups order
peterdettman May 27, 2025
b81d8e3
Include X25519MLKEM768 in default supported groups
peterdettman May 28, 2025
c7682d1
TLS: Alternate ML-KEM key pair generation to allow use of our SecureR…
peterdettman May 28, 2025
31398ba
update against main
dghgit May 29, 2025
346e6d8
checkstyle pruning
dghgit May 29, 2025
8d2b53a
Update XWing according to draft-connolly-cfrg-xwing-kem/07/
May 29, 2025
b9b1325
Test updates
peterdettman May 29, 2025
134689f
Move segmentsOverlap methods to Arrays class
peterdettman May 29, 2025
0b9e141
Add segmentsOverlap method to jdk1.4 Arrays class
peterdettman May 29, 2025
e52d75e
Pqc MLDSA rejection testvectors
ligefeiBouncycastle May 29, 2025
62c55b0
Merge branch 'pqc-dilithium-rejection-testvectors' into 'main'
dghgit May 29, 2025
46db1a0
OpenPGP API DoubleBufferedInputStreamTest and DoubleBufferedInputStream
ligefeiBouncycastle May 29, 2025
a033048
Merge branch '1911-3-DoubleBufferedInputStreamTest' into 'main'
dghgit May 29, 2025
cd2f725
#2084 pg armoredinputstream
ligefeiBouncycastle May 29, 2025
fb4b20c
Merge branch '2084-pg-armoredinputstream' into 'main'
dghgit May 29, 2025
4817b8e
Merge branch '2083-xwing-update' into 'main'
dghgit May 29, 2025
7cfde6b
Update KeyIdentifier and related classes, update FingerprintUtil, rem…
ligefeiBouncycastle May 30, 2025
c29539c
Merge branch '1911-4-keyidentifier-test' into 'main'
dghgit May 30, 2025
73c5ea8
initial pass of 1.81 release notes
dghgit May 31, 2025
67ea238
Java 5 to Java 8 updates.
dghgit May 31, 2025
019ecf5
Java 5 updates
dghgit May 31, 2025
ebb4ba3
Java 5 to Java 8 updates.
dghgit May 31, 2025
bafc09a
Java 4 compat changes
dghgit May 31, 2025
e948e5c
Add kem hqc jdk21
ligefeiBouncycastle May 31, 2025
ff89da0
Merge branch 'add-kem-hqc-jdk21' into 'main'
dghgit May 31, 2025
9f2c518
removed HQC
dghgit May 31, 2025
623e997
update PQC key encoding/decoding in Java 4
dghgit Jun 1, 2025
f0cd3da
Add CONTRIBUTORS.html and releasenotes.html
Jun 2, 2025
9499219
BCJSSE updates in release notes
peterdettman Jun 2, 2025
a0eb676
updated to use TestResourceFinder
dghgit Jun 3, 2025
18a2935
Merge branch 'main' of gitlab.cryptoworkshop.com:root/bc-java
dghgit Jun 3, 2025
9ccb566
Set message and content as protected in SMIMESignedParser
ligefeiBouncycastle Jun 3, 2025
990a094
Merge branch '2074-SMIMESignedParser' into 'main'
dghgit Jun 3, 2025
cdf083e
Merge branch 'feature/pbmac1-prf' of https://github.com/mt-johan/bc-j…
dghgit Jun 3, 2025
fb96b8f
Merge branch 'mt-johan-feature/pbmac1-prf'
dghgit Jun 3, 2025
a267679
Merge branch 'patch-1' of https://github.com/oscerd/bc-java into osce…
dghgit Jun 3, 2025
596ea37
Merge branch 'oscerd-patch-1'
dghgit Jun 3, 2025
00bfeba
Formatting
peterdettman Jun 3, 2025
8ecc0b3
fixed cloner to do SHA1 as SHA1. Relates to github #2041
dghgit Jun 3, 2025
9c49ab5
final updates
dghgit Jun 3, 2025
b87169e
Merge branch 'main' of gitlab.cryptoworkshop.com:root/bc-java
dghgit Jun 3, 2025
db2dfa0
Improve FalconTest
peterdettman Jun 3, 2025
8915ff2
fixed test method exposure
dghgit Jun 3, 2025
0d6042f
Merge branch 'main' of gitlab.cryptoworkshop.com:root/bc-java
dghgit Jun 3, 2025
48fc269
removed old RFC kyber ASN.1 class.
dghgit Jun 3, 2025
228211e
removed old RFC kyber ASN.1 class.
dghgit Jun 3, 2025
d3f1628
Use enhanced for loops instead of regular for loops part 1
winfriedgerlach Jun 16, 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
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@
*.swp
*.iml
*/*.iml
*.ipr
*.iws

bin/
build/
*/build/
libs/*.jar
out/
*/out/
.settings/
Expand All @@ -21,7 +24,7 @@ pg/*.bak
pg/*.bpg
pg/*.txt

.idea
.idea/

codesigning.jks

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