Skip to content

Commit

Permalink
Add SAE2 certificate
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Prévost committed Jan 4, 2024
1 parent e5bfb88 commit 3906558
Show file tree
Hide file tree
Showing 9 changed files with 254 additions and 1 deletion.
2 changes: 1 addition & 1 deletion certs/CA-zone1.srl
Original file line number Diff line number Diff line change
@@ -1 +1 @@
70F44F560C3F27D4B211A47813AFD03C03813B8E
70F44F560C3F27D4B211A47813AFD03C03813B92
3 changes: 3 additions & 0 deletions certs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Password for `CA-zone1.key`: "unice"

Empty passwords for pfxs
8 changes: 8 additions & 0 deletions certs/sae2.cnf
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[client]
basicConstraints = CA:FALSE
nsCertType = client, email
nsComment = "SAE2 Client Certificate"
subjectKeyIdentifier = hash
authorityKeyIdentifier = keyid,issuer
keyUsage = critical, nonRepudiation, digitalSignature, keyEncipherment
extendedKeyUsage = clientAuth, emailProtection
35 changes: 35 additions & 0 deletions certs/sae2.crt
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
-----BEGIN CERTIFICATE-----
MIIF/zCCA+egAwIBAgIUcPRPVgw/J9SyEaR4E6/QPAOBO5IwDQYJKoZIhvcNAQEL
BQAwgagxCzAJBgNVBAYTAkZSMQ8wDQYDVQQIDAZGcmFuY2UxDTALBgNVBAcMBEJp
b3QxKjAoBgNVBAoMIVVuaXZlcnNpdMODwqkgTmljZSBDw4PCtHRlIGQnQXp1cjEM
MAoGA1UECwwDSTNTMQ4wDAYDVQQDDAV6b25lMTEvMC0GCSqGSIb3DQEJARYgdGhv
bWFzLnByZXZvc3RAdW5pdi1jb3RlZGF6dXIuZnIwHhcNMjQwMTA0MTQ1NDU0WhcN
MzQwMTAxMTQ1NDU0WjAPMQ0wCwYDVQQDDARTQUUyMIICIjANBgkqhkiG9w0BAQEF
AAOCAg8AMIICCgKCAgEAuRQV85O19FV01EzEed3gt5Hqtloeb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9l
hPdNff3EPTLkfy6BgQuVeblEeU3j8dI5DM55rDJLZ1GT7J2YR2PjgM2EZmZllqG7
E3TiRId0D3EphCYihTNQvPR4sIxyp5rofKYMy3LSkt3vmrVcByHQr7IJcnXubxTf
07yTSb8qRcD1Pph5XYD0H1d+bAssPduZp7eY4EFcVVUNCKcTdDrX0ggh0klyYYk4
sVw9whg2w7OPfZWEESTlFNl0XtArdajYnQXqnKwHG44n24v8BZiSjHdq01tZpPSK
y4x3y2KuNULUoTj+j5Xy8wLco8ig7TRju9fTL3L3vrTdTSI1zmNE6DsImPAPd6lW
tJ76qv/Nd5hYPdhQYqdLpB/6AYvREi1WoWOfMs0ovRAELPqKPWq5WRCK3QyBVpRW
8QKL5nTUjEZtQyKosBLzmCJNWFGcUqfCi4DaQV4jddxRKHTv0QUU7xspYvYp6kzo
rvHw0Z6/WgAjjl0jIs3BJfLEwp+riYGBtaCCFYf/ADUFSBmuxcgkmAjyWbrOCZ3P
v5JbAb+giXWjB63hK0MWf0YyHifcUuHE2/G8UGPVrW22/Lk2Diapt8KcPc+sBHsS
Adro
-----END CERTIFICATE-----
26 changes: 26 additions & 0 deletions certs/sae2.csr
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
-----BEGIN CERTIFICATE REQUEST-----
MIIEVDCCAjwCAQAwDzENMAsGA1UEAwwEU0FFMjCCAiIwDQYJKoZIhvcNAQEBBQAD
ggIPADCCAgoCggIBALkUFfOTtfRVdNRMxHnd4LeR6rZaHm3UGz7pfSOTfJi0Z6TI
0kEYz3cm6djdpKHZkBxAaoUGJoWA3ld6PABr6ieEQ8D91t9DCcQpri0+5DXeoylP
yH/6UlSh9nIrjWIweF5qpbaiHWfEt5jIzQH0bxJaTAVR/07/m/+8gR0gxYx220RO
G3hhx5TZBf7VhYUvTDvegwm1AsCRrcYEOlae7Y39Le2f3ExLerPxWCvtF0QwspyI
FXl2R4RKd7JOLEH8bU5OdJlIQfnG/g6I9DCvwUpzG6L9cN0D6zxEPae1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tdaoDVhcMwJ/
1no8m44Z7qI=
-----END CERTIFICATE REQUEST-----
52 changes: 52 additions & 0 deletions certs/sae2.key
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
-----BEGIN PRIVATE KEY-----
MIIJQwIBADANBgkqhkiG9w0BAQEFAASCCS0wggkpAgEAAoICAQC5FBXzk7X0VXTU
TMR53eC3keq2Wh5t1Bs+6X0jk3yYtGekyNJBGM93JunY3aSh2ZAcQGqFBiaFgN5X
ejwAa+onhEPA/dbfQwnEKa4tPuQ13qMpT8h/+lJUofZyK41iMHheaqW2oh1nxLeY
yM0B9G8SWkwFUf9O/5v/vIEdIMWMdttETht4YceU2QX+1YWFL0w73oMJtQLAka3G
BDpWnu2N/S3tn9xMS3qz8Vgr7RdEMLKciBV5dkeESneyTixB/G1OTnSZSEH5xv4O
iPQwr8FKcxui/XDdA+s8RD2ntUY/EB+zMBUw0PGnqIq5K9Mx/49AHXcvNeguT7OM
z43D82Hj4WYxeVDpEfkskjObkeh4A7i5bOEwUjENN6gzNAR2JZsT2qy8lSrp/m/j
7hOorkeOPVdx+tGx2Fg5+sK1RSCyEIJWdPKh7k3MrQpQ66N8w1jyYwEsM5ub83uW
FtRH4BA9J5Jwi/oDmLvw2Sz86E/re56Wct2BuFJVMe9W2VcQRTvieOghFeJfMVbr
xHejuYZ+6zthvt2GYlD/mf2wBp/nWBWbEjaNdGHcGSZVnVSmeAlgfpn8qdQD2ydf
06ss3o5m431O9B5PneCtaF0TS6+xp708q0ipMJWaWs53uuhoCsHBHzeWalr0mXew
X7K5DV2gqbLNN3OYD/755lHNa+ln4QIDAQABAoICAArFzXPd3IVcWym5vC7NLONk
w7EHYkGb3VXWVBUA9ub/r32PmN32bKomdMTNYVGU+BkOBWCmqezqHbSzXOwBEuJD
PNIS3YQludsoXsbQbUGyT0+p6hw5c7vHzVTVe7Uxw3xq1t8pdzezrFs8fXUs4p8L
oy3b0AzidYJJtIjItwuE70UQLxhvNber5eXMA7vrxhNBLOIg1S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5N01ZeZApk+vlzwT
r7F8eA2N4dgosOr3e3qnmUbFLmewDDjIS5t2RWNA1e/RH+6ghPGyYxPQWHgKOkqm
Mk6TPctXRcqyU3uEWDlduNTd6JmGvfY=
-----END PRIVATE KEY-----
123 changes: 123 additions & 0 deletions certs/sae2.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
-----BEGIN PRIVATE KEY-----
MIIJQwIBADANBgkqhkiG9w0BAQEFAASCCS0wggkpAgEAAoICAQC5FBXzk7X0VXTU
TMR53eC3keq2Wh5t1Bs+6X0jk3yYtGekyNJBGM93JunY3aSh2ZAcQGqFBiaFgN5X
ejwAa+onhEPA/dbfQwnEKa4tPuQ13qMpT8h/+lJUofZyK41iMHheaqW2oh1nxLeY
yM0B9G8SWkwFUf9O/5v/vIEdIMWMdttETht4YceU2QX+1YWFL0w73oMJtQLAka3G
BDpWnu2N/S3tn9xMS3qz8Vgr7RdEMLKciBV5dkeESneyTixB/G1OTnSZSEH5xv4O
iPQwr8FKcxui/XDdA+s8RD2ntUY/EB+zMBUw0PGnqIq5K9Mx/49AHXcvNeguT7OM
z43D82Hj4WYxeVDpEfkskjObkeh4A7i5bOEwUjENN6gzNAR2JZsT2qy8lSrp/m/j
7hOorkeOPVdx+tGx2Fg5+sK1RSCyEIJWdPKh7k3MrQpQ66N8w1jyYwEsM5ub83uW
FtRH4BA9J5Jwi/oDmLvw2Sz86E/re56Wct2BuFJVMe9W2VcQRTvieOghFeJfMVbr
xHejuYZ+6zthvt2GYlD/mf2wBp/nWBWbEjaNdGHcGSZVnVSmeAlgfpn8qdQD2ydf
06ss3o5m431O9B5PneCtaF0TS6+xp708q0ipMJWaWs53uuhoCsHBHzeWalr0mXew
X7K5DV2gqbLNN3OYD/755lHNa+ln4QIDAQABAoICAArFzXPd3IVcWym5vC7NLONk
w7EHYkGb3VXWVBUA9ub/r32PmN32bKomdMTNYVGU+BkOBWCmqezqHbSzXOwBEuJD
PNIS3YQludsoXsbQbUGyT0+p6hw5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bS0g9lF7Wlaiany0SCNZpsUWqMJrnyRxjrhTQa3jnnXgdw
PK1d++BrFWc2u/KqWzl/3RdIuHN4PU01WyfHPC+eVofWPCeO2aStxWhzjcUL+qz8
PtsZu8qFsnODCfEgg7e5PrFmGab4IPX1kyg2BWIDmZ/v+pmtEERlINWCDvLvGE73
asLheftWgVEpa5j0RLp6Yln0ibgaD0G1WDYqPdrppmuNopL7GnJDbslS4tfZndi6
SjFYjAQzfA==
-----END CERTIFICATE-----
Binary file added certs/sae2.pfx
Binary file not shown.
6 changes: 6 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ async fn main() {
error!("Error adding SAE to QKD manager");
return;
}
if qkd_manager.add_sae(2,
&[0x70, 0xf4, 0x4f, 0x56, 0x0c, 0x3f, 0x27, 0xd4, 0xb2, 0x11, 0xa4, 0x78, 0x13, 0xaf, 0xd0, 0x3c, 0x03, 0x81, 0x3b, 0x92]
).is_err() {
error!("Error adding SAE to QKD manager");
return;
}

let qkd_key_1 = match QkdKey::new(
1,
Expand Down

0 comments on commit 3906558

Please sign in to comment.