File tree 8 files changed +40
-10
lines changed
8 files changed +40
-10
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2
2
3
3
# set -x
4
4
source oids.sh
5
- source source
6
5
7
6
function check_cert() {
8
7
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ # set -x
3
+
4
+ DIR=artifacts
5
+ source oids.sh
6
+
7
+ gen () {
8
+ ALG=$1
9
+ NAME=$2
10
+ OID=$3
11
+
12
+ # Root/TA:
13
+ mkdir -p ${DIR}
14
+ # Generate key pair
15
+ openssl req -x509 -new -newkey ${ALG} -keyout ${DIR} /${NAME} -${OID} _ta_priv.pem -extensions v3_ca -out ${DIR} /${NAME} -${OID} _ta.pem -nodes -subj " /CN=TA anti-atlas (PQShield)"
16
+ # Also generate cert in DER
17
+ openssl x509 -in ${DIR} /${NAME} -${OID} _ta.pem -out ${DIR} /${NAME} -${OID} _ta.der -outform DER
18
+ }
19
+
20
+ # ML-DSA
21
+ gen mldsa44 ml-dsa-44 ${MLDSA_44}
22
+ gen mldsa65 ml-dsa-65 ${MLDSA_65}
23
+ gen mldsa87 ml-dsa-87 ${MLDSA_87}
24
+
25
+ # Falcon
26
+ gen falcon512 falcon512 ${FALCON_512}
27
+ gen falcon1024 falcon1024 ${FALCON_1024}
Original file line number Diff line number Diff line change
1
+ export MLDSA_44=2.16.840.1.101.3.4.3.17
2
+ export MLDSA_65=2.16.840.1.101.3.4.3.18
3
+ export MLDSA_87=2.16.840.1.101.3.4.3.19
4
+ export MLDSA_44_with_SHA512=2.16.840.1.101.3.4.3.32
5
+ export MLDSA_65_with_SHA512=2.16.840.1.101.3.4.3.33
6
+ export MLDSA_87_with_SHA512=2.16.840.1.101.3.4.3.34
7
+ export FALCON_512=1.3.9999.3.6
8
+ export FALCON_1024=1.3.9999.3.9
9
+
10
+ export PQSP_OID_MLDSA44=2.16.840.1.101.3.4.3.17
11
+ export PQSP_OID_MLDSA65=2.16.840.1.101.3.4.3.18
12
+ export PQSP_OID_MLDSA87=2.16.840.1.101.3.4.3.19
Original file line number Diff line number Diff line change 69
69
* Provider short name: ` kris `
70
70
* Company name: PQShield
71
71
* Company website: https://pqshield.com/
72
- * Implementation: Proprietary
72
+ * Implementation: Proprietary. It's a wrapper that internally uses proprietary ML-DSA implementation.
73
73
74
74
75
75
# OpenCA
You can’t perform that action at this time.
0 commit comments