Commit 7e6b0c93 authored by EJ Finneran's avatar EJ Finneran
Browse files

Merge branch 'develop' into 'master'

Initial Work (Dec 2018)

See merge request cascade/rigado-hsm-server!1
parents 3019471d ce5abfd7
# Snapcraft
*.snap
parts/
stage/
prime/
/snap/.snapcraft/
.snapcraft/
# IDE
.idea/
# visual studio code
/.vscode/
/.settings/
/.history/
# rigado-hsm-server
## pre-provisioning A71CH
Set up initialize.jsch for apdu_player
```
sudo snap set rigado-hsm-server device-jcsh="$(cat initialize.jcsh)"
```
## provisioning
Run init-A71CH-iot-hub
```
rigado-hsm-server.init-A71CH-iot-hub
```
## provisioning without IoT HUB (see readme.rst)
1. Run init-A71CH-openssl
```
rigado-hsm-server.init-A71CH-openssl
```
2. Copy CACertificate_ECC.key and CACertificate_ECC.crt from $SNAP_COMMON/certs to any local folder
3. Set up AWS account
```
#Create verification certificate
openssl req -new -key VerificationKeys.key -subj "/CN=REGISTRATION CODE" -out VerificationCSR.pem
openssl x509 -req -in VerificationCSR.pem -CA CACertificate_ECC.crt -CAkey CACertificate_ECC.key -CAcreateserial -out Verificationcertificate.crt -days 3650 -sha256
#Register & Activate CA certificate and enable auto-registration
aws iot register-ca-certificate --ca-certificate file://CACertificate_ECC.crt --verification-cert file://Verificationcertificate.crt
aws iot describe-ca-certificate --certificate-id <cert id>
aws iot update-ca-certificate --certificate-id <cert id> --new-status ACTIVE
aws iot update-ca-certificate --certificate-id <cert id> --registration-config file://registration_config.json
aws iot update-ca-certificate --certificate-id <cert id> --new-auto-registration-status ENABLE
```
See more about `JITP template <https://docs.aws.amazon.com/iot/latest/developerguide/jit-provisioning.html/>`
-----BEGIN CERTIFICATE-----
MIIBqzCCAVGgAwIBAgIUBABwAv//AAAAALsAAAAAAAAAAAAwCgYIKoZIzj0EAwIw
UjEaMBgGA1UECgwRTlhQIFBsdWcgVHJ1c3QgQ0ExNDAyBgNVBAMMK3tjdXN0b21l
cl9uYW1lfS17Y3VzdG9tZXJfaWR9LUltcG9ydENBdkUyMDAwHhcNMTgxMjEzMDkz
NDQxWhcNMzAxMjEzMDkzNDQxWjBHMUUwQwYDVQQDDDxtb2NraHNtLTA0MDA3MDAy
ZmZmZjAwMDAwMDAwQkIwMDAwMDAwMDAwMDAwMC1LRVlfQ0VSVF9JT1RIVUIwWTAT
BgcqhkjOPQIBBggqhkjOPQMBBwNCAAQT5GLsdo2xcBaZxEROdpSXbf29JmyNUPxh
Z8cnXHJ5lcV8fUAfWLaFZ+2aVXXWD7px8S9QIyxhcCxXxTf4lAwRoxAwDjAMBgNV
HRMBAf8EAjAAMAoGCCqGSM49BAMCA0gAMEUCIQCS7C2jchiqvNEfNFLkXNwe/lNh
inD3fUqexFomRT5vBgIgbltWqqmCODMVsM8yrWija8SBw6PnFK0cZZPRqKjEdDc=
-----END CERTIFICATE-----
-----BEGIN EC PRIVATE KEY-----
MHcCAQEEIAZ09GQmFUBFfB9DMsONgsilbTPTwjVcKYG+TpbRRi7QoAoGCCqGSM49
AwEHoUQDQgAEE+Ri7HaNsXAWmcRETnaUl239vSZsjVD8YWfHJ1xyeZXFfH1AH1i2
hWftmlV11g+6cfEvUCMsYXAsV8U3+JQMEQ==
-----END EC PRIVATE KEY-----
[device]
customer_name = mockhsm
customer_id = ffff
device_id = 04007002ffff00000000BB00000000000000
client_cert = -----BEGIN CERTIFICATE-----
MIIBqzCCAVGgAwIBAgIUBABwAv//AAAAALsAAAAAAAAAAAAwCgYIKoZIzj0EAwIw
UjEaMBgGA1UECgwRTlhQIFBsdWcgVHJ1c3QgQ0ExNDAyBgNVBAMMK3tjdXN0b21l
cl9uYW1lfS17Y3VzdG9tZXJfaWR9LUltcG9ydENBdkUyMDAwHhcNMTgxMjEzMDkz
NDQxWhcNMzAxMjEzMDkzNDQxWjBHMUUwQwYDVQQDDDxtb2NraHNtLTA0MDA3MDAy
ZmZmZjAwMDAwMDAwQkIwMDAwMDAwMDAwMDAwMC1LRVlfQ0VSVF9JT1RIVUIwWTAT
BgcqhkjOPQIBBggqhkjOPQMBBwNCAAQT5GLsdo2xcBaZxEROdpSXbf29JmyNUPxh
Z8cnXHJ5lcV8fUAfWLaFZ+2aVXXWD7px8S9QIyxhcCxXxTf4lAwRoxAwDjAMBgNV
HRMBAf8EAjAAMAoGCCqGSM49BAMCA0gAMEUCIQCS7C2jchiqvNEfNFLkXNwe/lNh
inD3fUqexFomRT5vBgIgbltWqqmCODMVsM8yrWija8SBw6PnFK0cZZPRqKjEdDc=
-----END CERTIFICATE-----
kek_enc = 013377b059bbe9a944cabf5e08993cd905ecb110da0af8547d57121dc443800df0d3292b697e4e6836ca6a636e0b5cb231c11ce214
wrap_key_private_enc = d09ed1056c366b674a099f3879c79c137795f071664dc7e19d53dd934bbc7b26
wrap_key_private_kcv = 0c3d92
wrap_key_public_enc = f26ea1ba9e28f037c6c7c68a9a1aebb1db06d61539e160c765cb879aaa762bb2
wrap_key_public_kcv = 6ca1db
wrap_key_private = 2ca0339fc3e7f6699641783610fa3830
wrap_key_public = 8cbb13eb13c1dc23f3da195794393402
client_private_key = -----BEGIN EC PRIVATE KEY-----
MHcCAQEEIAZ09GQmFUBFfB9DMsONgsilbTPTwjVcKYG+TpbRRi7QoAoGCCqGSM49
AwEHoUQDQgAEE+Ri7HaNsXAWmcRETnaUl239vSZsjVD8YWfHJ1xyeZXFfH1AH1i2
hWftmlV11g+6cfEvUCMsYXAsV8U3+JQMEQ==
-----END EC PRIVATE KEY-----
root_cert = -----BEGIN CERTIFICATE-----
MIIBzTCCAXKgAwIBAgIUSHEXDSTlnBVpCHCZDpGow3Nt5XkwCgYIKoZIzj0EAwIw
UjEaMBgGA1UECgwRTlhQIFBsdWcgVHJ1c3QgQ0ExNDAyBgNVBAMMK3tjdXN0b21l
cl9uYW1lfS17Y3VzdG9tZXJfaWR9LUltcG9ydENBdkUyMDAwHhcNMTgxMjA2MTAx
NDEyWhcNMzMxMjA2MDQxNDEyWjBSMRowGAYDVQQKDBFOWFAgUGx1ZyBUcnVzdCBD
QTE0MDIGA1UEAwwre2N1c3RvbWVyX25hbWV9LXtjdXN0b21lcl9pZH0tSW1wb3J0
Q0F2RTIwMDBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABEgz03hmBVpuBipzqkOk
W24agXokycFFn1x3O0z9ZywYiAzEWLvfP7pxfICjd5k5xcuLsRryu/Rr7N0LSU5p
zAujJjAkMBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgKEMAoGCCqG
SM49BAMCA0kAMEYCIQCrMAFYE7qqCVORQnHsxJ9zXxN+OK2sgcmlmC6vyM7HvwIh
ANdI4Ur04EUUcrBiVtjwM9694gWK2GZInB6r6Pn/dPX1
-----END CERTIFICATE-----
root_private_key = -----BEGIN EC PRIVATE KEY-----
MHcCAQEEIMzgAGqaMUpU18XbN7umutk7PLFbh4xixvQtGcN6tzL3oAoGCCqGSM49
AwEHoUQDQgAESDPTeGYFWm4GKnOqQ6RbbhqBeiTJwUWfXHc7TP1nLBiIDMRYu98/
unF8gKN3mTnFy4uxGvK79Gvs3QtJTmnMCw==
-----END EC PRIVATE KEY-----
zmk_kcv = 96bb2e
client_cert: |
-----BEGIN CERTIFICATE-----
MIIBqzCCAVGgAwIBAgIUBABwAv//AAAAALsAAAAAAAAAAAAwCgYIKoZIzj0EAwIw
UjEaMBgGA1UECgwRTlhQIFBsdWcgVHJ1c3QgQ0ExNDAyBgNVBAMMK3tjdXN0b21l
cl9uYW1lfS17Y3VzdG9tZXJfaWR9LUltcG9ydENBdkUyMDAwHhcNMTgxMjEzMDkz
NDQxWhcNMzAxMjEzMDkzNDQxWjBHMUUwQwYDVQQDDDxtb2NraHNtLTA0MDA3MDAy
ZmZmZjAwMDAwMDAwQkIwMDAwMDAwMDAwMDAwMC1LRVlfQ0VSVF9JT1RIVUIwWTAT
BgcqhkjOPQIBBggqhkjOPQMBBwNCAAQT5GLsdo2xcBaZxEROdpSXbf29JmyNUPxh
Z8cnXHJ5lcV8fUAfWLaFZ+2aVXXWD7px8S9QIyxhcCxXxTf4lAwRoxAwDjAMBgNV
HRMBAf8EAjAAMAoGCCqGSM49BAMCA0gAMEUCIQCS7C2jchiqvNEfNFLkXNwe/lNh
inD3fUqexFomRT5vBgIgbltWqqmCODMVsM8yrWija8SBw6PnFK0cZZPRqKjEdDc=
-----END CERTIFICATE-----
customer_id: ffff
customer_name: mockhsm
device_id: 04007002ffff00000000BB00000000000000
kek_enc: 013377b059bbe9a944cabf5e08993cd905ecb110da0af8547d57121dc443800df0d3292b697e4e6836ca6a636e0b5cb231c11ce214
root_cert: |
-----BEGIN CERTIFICATE-----
MIIBzTCCAXKgAwIBAgIUSHEXDSTlnBVpCHCZDpGow3Nt5XkwCgYIKoZIzj0EAwIw
UjEaMBgGA1UECgwRTlhQIFBsdWcgVHJ1c3QgQ0ExNDAyBgNVBAMMK3tjdXN0b21l
cl9uYW1lfS17Y3VzdG9tZXJfaWR9LUltcG9ydENBdkUyMDAwHhcNMTgxMjA2MTAx
NDEyWhcNMzMxMjA2MDQxNDEyWjBSMRowGAYDVQQKDBFOWFAgUGx1ZyBUcnVzdCBD
QTE0MDIGA1UEAwwre2N1c3RvbWVyX25hbWV9LXtjdXN0b21lcl9pZH0tSW1wb3J0
Q0F2RTIwMDBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABEgz03hmBVpuBipzqkOk
W24agXokycFFn1x3O0z9ZywYiAzEWLvfP7pxfICjd5k5xcuLsRryu/Rr7N0LSU5p
zAujJjAkMBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgKEMAoGCCqG
SM49BAMCA0kAMEYCIQCrMAFYE7qqCVORQnHsxJ9zXxN+OK2sgcmlmC6vyM7HvwIh
ANdI4Ur04EUUcrBiVtjwM9694gWK2GZInB6r6Pn/dPX1
-----END CERTIFICATE-----
wrap_key_private_enc: d09ed1056c366b674a099f3879c79c137795f071664dc7e19d53dd934bbc7b26
wrap_key_private_kcv: 0c3d92
wrap_key_public_enc: f26ea1ba9e28f037c6c7c68a9a1aebb1db06d61539e160c765cb879aaa762bb2
wrap_key_public_kcv: 6ca1db
zmk_kcv: 96bb2e
/reset
/atr
/select |a71ch
/send 809400EA 9000
/send 80320101102ca0339fc3e7f6699641783610fa3830 9000
/send 80320201108cbb13eb13c1dc23f3da195794393402 9000
/send 80120000610674f464261540457c1f4332c38d82c8a56d33d3c2355c2981be4e96d1462ed00413e462ec768db1701699c4444e7694976dfdbd266c8d50fc6167c7275c727995c57c7d401f58b68567ed9a5575d60fba71f12f50232c61702c57c537f8940c11 9000
/send 8072000080308201ab30820151a003020102021404007002ffff00000000bb000000000000000000300a06082a8648ce3d0403023052311a3018060355040a0c114e585020506c75672054727573742043413134303206035504030c2b7b637573746f6d65725f6e616d657d2d7b637573746f6d65725f69647d2d496d706f727443417645 9000
/send 8072008080323030301e170d3138313231333039333434315a170d3330313231333039333434315a30473145304306035504030c3c6d6f636b68736d2d3034303037303032666666663030303030303030424230303030303030303030303030302d4b45595f434552545f494f544855423059301306072a8648ce3d020106082a8648ce3d 9000
/send 80720100800301070342000413e462ec768db1701699c4444e7694976dfdbd266c8d50fc6167c7275c727995c57c7d401f58b68567ed9a5575d60fba71f12f50232c61702c57c537f8940c11a310300e300c0603551d130101ff04023000300a06082a8648ce3d040302034800304502210092ec2da37218aabcd11f3452e45cdc1efe5361 9000
/send 80720180808a70f77d4a9ec45a26453e6f0602206e5b56aaa982383315b0cf32ad68a36bc481c3a3e714ad1c6593d1a8a8c47437000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720200800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720280800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720300800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720380800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720400800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720480800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720500800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720580800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720600800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720680800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720700800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720780800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720800800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720880800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720900800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720980800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720a00800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720a80800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720b00800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720b80800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720c00800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720c80800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720d00800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720d80800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720e00800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720e80800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720f00800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720f8080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000090001af00000101 9000
-----BEGIN CERTIFICATE-----
MIIBqzCCAVGgAwIBAgIUBABwAv//AAAAALsAAAAAAAABAAAwCgYIKoZIzj0EAwIw
UjEaMBgGA1UECgwRTlhQIFBsdWcgVHJ1c3QgQ0ExNDAyBgNVBAMMK3tjdXN0b21l
cl9uYW1lfS17Y3VzdG9tZXJfaWR9LUltcG9ydENBdkUyMDAwHhcNMTgxMjEzMTAz
NjM2WhcNMzAxMjEzMTAzNjM2WjBHMUUwQwYDVQQDDDxtb2NraHNtLTA0MDA3MDAy
ZmZmZjAwMDAwMDAwQkIwMDAwMDAwMDAwMDAwMS1LRVlfQ0VSVF9JT1RIVUIwWTAT
BgcqhkjOPQIBBggqhkjOPQMBBwNCAATGFF2JI8b0Bz/LdKFnJcrJhOAiSG/s8enq
LLs7Os60JZ49rFoCJ7lXNw2pZL9vNv7uuwUREDtooayBr9EQK83HoxAwDjAMBgNV
HRMBAf8EAjAAMAoGCCqGSM49BAMCA0gAMEUCIQDs+vFNCD3eF20U98O/JFqCbVov
eDfipB/1mZ1C4cklIQIgItCMaLH/ab4KmCOCWwJgVrwH3innfRBLfzGSprIC/gI=
-----END CERTIFICATE-----
-----BEGIN EC PRIVATE KEY-----
MHcCAQEEICDfqQ55KeU/Dg+WCFfnA0sqJYkog0HUGwQSsacRVtCLoAoGCCqGSM49
AwEHoUQDQgAExhRdiSPG9Ac/y3ShZyXKyYTgIkhv7PHp6iy7OzrOtCWePaxaAie5
VzcNqWS/bzb+7rsFERA7aKGsga/RECvNxw==
-----END EC PRIVATE KEY-----
[device]
customer_name = mockhsm
customer_id = ffff
device_id = 04007002ffff00000000BB00000000000001
client_cert = -----BEGIN CERTIFICATE-----
MIIBqzCCAVGgAwIBAgIUBABwAv//AAAAALsAAAAAAAABAAAwCgYIKoZIzj0EAwIw
UjEaMBgGA1UECgwRTlhQIFBsdWcgVHJ1c3QgQ0ExNDAyBgNVBAMMK3tjdXN0b21l
cl9uYW1lfS17Y3VzdG9tZXJfaWR9LUltcG9ydENBdkUyMDAwHhcNMTgxMjEzMTAz
NjM2WhcNMzAxMjEzMTAzNjM2WjBHMUUwQwYDVQQDDDxtb2NraHNtLTA0MDA3MDAy
ZmZmZjAwMDAwMDAwQkIwMDAwMDAwMDAwMDAwMS1LRVlfQ0VSVF9JT1RIVUIwWTAT
BgcqhkjOPQIBBggqhkjOPQMBBwNCAATGFF2JI8b0Bz/LdKFnJcrJhOAiSG/s8enq
LLs7Os60JZ49rFoCJ7lXNw2pZL9vNv7uuwUREDtooayBr9EQK83HoxAwDjAMBgNV
HRMBAf8EAjAAMAoGCCqGSM49BAMCA0gAMEUCIQDs+vFNCD3eF20U98O/JFqCbVov
eDfipB/1mZ1C4cklIQIgItCMaLH/ab4KmCOCWwJgVrwH3innfRBLfzGSprIC/gI=
-----END CERTIFICATE-----
kek_enc = 013377b059bbe9a944cabf5e08993cd905ecb110da0af8547d57121dc443800df0d3292b697e4e6836ca6a636e0b5cb231c11ce214
wrap_key_private_enc = d82edfa970416f5ebdf9b4b7badc0f841351a749bb3c618c9f25fc1748413c14
wrap_key_private_kcv = 7617f8
wrap_key_public_enc = 6a5204bde611f4199bfa834c76019f6627db49b558982752ea415a57e87e858b
wrap_key_public_kcv = 93fc89
wrap_key_private = 0003196ca7c828c7062981f99f44f997
wrap_key_public = f7c916c359904a111a99a38ac53d51e6
client_private_key = -----BEGIN EC PRIVATE KEY-----
MHcCAQEEICDfqQ55KeU/Dg+WCFfnA0sqJYkog0HUGwQSsacRVtCLoAoGCCqGSM49
AwEHoUQDQgAExhRdiSPG9Ac/y3ShZyXKyYTgIkhv7PHp6iy7OzrOtCWePaxaAie5
VzcNqWS/bzb+7rsFERA7aKGsga/RECvNxw==
-----END EC PRIVATE KEY-----
root_cert = -----BEGIN CERTIFICATE-----
MIIBzTCCAXKgAwIBAgIUSHEXDSTlnBVpCHCZDpGow3Nt5XkwCgYIKoZIzj0EAwIw
UjEaMBgGA1UECgwRTlhQIFBsdWcgVHJ1c3QgQ0ExNDAyBgNVBAMMK3tjdXN0b21l
cl9uYW1lfS17Y3VzdG9tZXJfaWR9LUltcG9ydENBdkUyMDAwHhcNMTgxMjA2MTAx
NDEyWhcNMzMxMjA2MDQxNDEyWjBSMRowGAYDVQQKDBFOWFAgUGx1ZyBUcnVzdCBD
QTE0MDIGA1UEAwwre2N1c3RvbWVyX25hbWV9LXtjdXN0b21lcl9pZH0tSW1wb3J0
Q0F2RTIwMDBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABEgz03hmBVpuBipzqkOk
W24agXokycFFn1x3O0z9ZywYiAzEWLvfP7pxfICjd5k5xcuLsRryu/Rr7N0LSU5p
zAujJjAkMBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgKEMAoGCCqG
SM49BAMCA0kAMEYCIQCrMAFYE7qqCVORQnHsxJ9zXxN+OK2sgcmlmC6vyM7HvwIh
ANdI4Ur04EUUcrBiVtjwM9694gWK2GZInB6r6Pn/dPX1
-----END CERTIFICATE-----
root_private_key = -----BEGIN EC PRIVATE KEY-----
MHcCAQEEIMzgAGqaMUpU18XbN7umutk7PLFbh4xixvQtGcN6tzL3oAoGCCqGSM49
AwEHoUQDQgAESDPTeGYFWm4GKnOqQ6RbbhqBeiTJwUWfXHc7TP1nLBiIDMRYu98/
unF8gKN3mTnFy4uxGvK79Gvs3QtJTmnMCw==
-----END EC PRIVATE KEY-----
zmk_kcv = 96bb2e
client_cert: |
-----BEGIN CERTIFICATE-----
MIIBqzCCAVGgAwIBAgIUBABwAv//AAAAALsAAAAAAAABAAAwCgYIKoZIzj0EAwIw
UjEaMBgGA1UECgwRTlhQIFBsdWcgVHJ1c3QgQ0ExNDAyBgNVBAMMK3tjdXN0b21l
cl9uYW1lfS17Y3VzdG9tZXJfaWR9LUltcG9ydENBdkUyMDAwHhcNMTgxMjEzMTAz
NjM2WhcNMzAxMjEzMTAzNjM2WjBHMUUwQwYDVQQDDDxtb2NraHNtLTA0MDA3MDAy
ZmZmZjAwMDAwMDAwQkIwMDAwMDAwMDAwMDAwMS1LRVlfQ0VSVF9JT1RIVUIwWTAT
BgcqhkjOPQIBBggqhkjOPQMBBwNCAATGFF2JI8b0Bz/LdKFnJcrJhOAiSG/s8enq
LLs7Os60JZ49rFoCJ7lXNw2pZL9vNv7uuwUREDtooayBr9EQK83HoxAwDjAMBgNV
HRMBAf8EAjAAMAoGCCqGSM49BAMCA0gAMEUCIQDs+vFNCD3eF20U98O/JFqCbVov
eDfipB/1mZ1C4cklIQIgItCMaLH/ab4KmCOCWwJgVrwH3innfRBLfzGSprIC/gI=
-----END CERTIFICATE-----
customer_id: ffff
customer_name: mockhsm
device_id: 04007002ffff00000000BB00000000000001
kek_enc: 013377b059bbe9a944cabf5e08993cd905ecb110da0af8547d57121dc443800df0d3292b697e4e6836ca6a636e0b5cb231c11ce214
root_cert: |
-----BEGIN CERTIFICATE-----
MIIBzTCCAXKgAwIBAgIUSHEXDSTlnBVpCHCZDpGow3Nt5XkwCgYIKoZIzj0EAwIw
UjEaMBgGA1UECgwRTlhQIFBsdWcgVHJ1c3QgQ0ExNDAyBgNVBAMMK3tjdXN0b21l
cl9uYW1lfS17Y3VzdG9tZXJfaWR9LUltcG9ydENBdkUyMDAwHhcNMTgxMjA2MTAx
NDEyWhcNMzMxMjA2MDQxNDEyWjBSMRowGAYDVQQKDBFOWFAgUGx1ZyBUcnVzdCBD
QTE0MDIGA1UEAwwre2N1c3RvbWVyX25hbWV9LXtjdXN0b21lcl9pZH0tSW1wb3J0
Q0F2RTIwMDBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABEgz03hmBVpuBipzqkOk
W24agXokycFFn1x3O0z9ZywYiAzEWLvfP7pxfICjd5k5xcuLsRryu/Rr7N0LSU5p
zAujJjAkMBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgKEMAoGCCqG
SM49BAMCA0kAMEYCIQCrMAFYE7qqCVORQnHsxJ9zXxN+OK2sgcmlmC6vyM7HvwIh
ANdI4Ur04EUUcrBiVtjwM9694gWK2GZInB6r6Pn/dPX1
-----END CERTIFICATE-----
wrap_key_private_enc: d82edfa970416f5ebdf9b4b7badc0f841351a749bb3c618c9f25fc1748413c14
wrap_key_private_kcv: 7617f8
wrap_key_public_enc: 6a5204bde611f4199bfa834c76019f6627db49b558982752ea415a57e87e858b
wrap_key_public_kcv: 93fc89
zmk_kcv: 96bb2e
/reset
/atr
/select |a71ch
/send 809400EA 9000
/send 80320101100003196ca7c828c7062981f99f44f997 9000
/send 8032020110f7c916c359904a111a99a38ac53d51e6 9000
/send 801200006120dfa90e7929e53f0e0f960857e7034b2a2589288341d41b0412b1a71156d08b04c6145d8923c6f4073fcb74a16725cac984e022486fecf1e9ea2cbb3b3aceb4259e3dac5a0227b957370da964bf6f36feeebb0511103b68a1ac81afd1102bcdc7 9000
/send 8072000080308201ab30820151a003020102021404007002ffff00000000bb000000000000010000300a06082a8648ce3d0403023052311a3018060355040a0c114e585020506c75672054727573742043413134303206035504030c2b7b637573746f6d65725f6e616d657d2d7b637573746f6d65725f69647d2d496d706f727443417645 9000
/send 8072008080323030301e170d3138313231333130333633365a170d3330313231333130333633365a30473145304306035504030c3c6d6f636b68736d2d3034303037303032666666663030303030303030424230303030303030303030303030312d4b45595f434552545f494f544855423059301306072a8648ce3d020106082a8648ce3d 9000
/send 807201008003010703420004c6145d8923c6f4073fcb74a16725cac984e022486fecf1e9ea2cbb3b3aceb4259e3dac5a0227b957370da964bf6f36feeebb0511103b68a1ac81afd1102bcdc7a310300e300c0603551d130101ff04023000300a06082a8648ce3d0403020348003045022100ecfaf14d083dde176d14f7c3bf245a826d5a2f 9000
/send 80720180807837e2a41ff5999d42e1c92521022022d08c68b1ff69be0a9823825b026056bc07de29e77d104b7f3192a6b202fe02000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720200800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720280800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720300800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720380800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720400800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720480800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720500800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720580800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720600800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720680800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720700800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720780800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720800800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720880800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720900800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720980800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720a00800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720a80800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720b00800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720b80800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720c00800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720c80800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720d00800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720d80800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720e00800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720e80800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720f00800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720f8080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000090001af00000101 9000
-----BEGIN CERTIFICATE-----
MIIBrDCCAVGgAwIBAgIUBABwAv//AAAAALsAAAAAAAACAAAwCgYIKoZIzj0EAwIw
UjEaMBgGA1UECgwRTlhQIFBsdWcgVHJ1c3QgQ0ExNDAyBgNVBAMMK3tjdXN0b21l
cl9uYW1lfS17Y3VzdG9tZXJfaWR9LUltcG9ydENBdkUyMDAwHhcNMTgxMjEzMTAz
NjM4WhcNMzAxMjEzMTAzNjM4WjBHMUUwQwYDVQQDDDxtb2NraHNtLTA0MDA3MDAy
ZmZmZjAwMDAwMDAwQkIwMDAwMDAwMDAwMDAwMi1LRVlfQ0VSVF9JT1RIVUIwWTAT
BgcqhkjOPQIBBggqhkjOPQMBBwNCAATeCUMVHXPh5OcMfp2yq0jbkEa2nfMvHgjo
RNHHz1Qhze9clJOUq7UUgJCccKHpSw1H/zZJFyXwQfNoXGb/BhjhoxAwDjAMBgNV
HRMBAf8EAjAAMAoGCCqGSM49BAMCA0kAMEYCIQC+8Jx3p38mHE5ZClT+jiTvwLDU
trPNWe6gLitj/3y9HgIhALsFFeIyaE0wHIW2KAD4vGHDe/iTckKoKvMIXi7hJvOY
-----END CERTIFICATE-----
-----BEGIN EC PRIVATE KEY-----
MHcCAQEEIIDtBBxTm4stknc4reaYjAjjiYxcNge7LcFCujPzyDIXoAoGCCqGSM49
AwEHoUQDQgAE3glDFR1z4eTnDH6dsqtI25BGtp3zLx4I6ETRx89UIc3vXJSTlKu1
FICQnHCh6UsNR/82SRcl8EHzaFxm/wYY4Q==
-----END EC PRIVATE KEY-----
[device]
customer_name = mockhsm
customer_id = ffff
device_id = 04007002ffff00000000BB00000000000002
client_cert = -----BEGIN CERTIFICATE-----
MIIBrDCCAVGgAwIBAgIUBABwAv//AAAAALsAAAAAAAACAAAwCgYIKoZIzj0EAwIw
UjEaMBgGA1UECgwRTlhQIFBsdWcgVHJ1c3QgQ0ExNDAyBgNVBAMMK3tjdXN0b21l
cl9uYW1lfS17Y3VzdG9tZXJfaWR9LUltcG9ydENBdkUyMDAwHhcNMTgxMjEzMTAz
NjM4WhcNMzAxMjEzMTAzNjM4WjBHMUUwQwYDVQQDDDxtb2NraHNtLTA0MDA3MDAy
ZmZmZjAwMDAwMDAwQkIwMDAwMDAwMDAwMDAwMi1LRVlfQ0VSVF9JT1RIVUIwWTAT
BgcqhkjOPQIBBggqhkjOPQMBBwNCAATeCUMVHXPh5OcMfp2yq0jbkEa2nfMvHgjo
RNHHz1Qhze9clJOUq7UUgJCccKHpSw1H/zZJFyXwQfNoXGb/BhjhoxAwDjAMBgNV
HRMBAf8EAjAAMAoGCCqGSM49BAMCA0kAMEYCIQC+8Jx3p38mHE5ZClT+jiTvwLDU
trPNWe6gLitj/3y9HgIhALsFFeIyaE0wHIW2KAD4vGHDe/iTckKoKvMIXi7hJvOY
-----END CERTIFICATE-----
kek_enc = 013377b059bbe9a944cabf5e08993cd905ecb110da0af8547d57121dc443800df0d3292b697e4e6836ca6a636e0b5cb231c11ce214
wrap_key_private_enc = f5b4e72d86189eaceb7c9d4828611cfe3a204171c2525b5ca56194e93a1ceb61
wrap_key_private_kcv = f3c33f
wrap_key_public_enc = fc0629cf9e2e6d024e8213b33f74184f1f7de2a4a1ac78fdddbe13ba7acf5686
wrap_key_public_kcv = 3ba249
wrap_key_private = 77dff9364721b6561da4e4ec2e4067a9
wrap_key_public = a335fbfbe5938c7482b21db259c6b0c6
client_private_key = -----BEGIN EC PRIVATE KEY-----
MHcCAQEEIIDtBBxTm4stknc4reaYjAjjiYxcNge7LcFCujPzyDIXoAoGCCqGSM49
AwEHoUQDQgAE3glDFR1z4eTnDH6dsqtI25BGtp3zLx4I6ETRx89UIc3vXJSTlKu1
FICQnHCh6UsNR/82SRcl8EHzaFxm/wYY4Q==
-----END EC PRIVATE KEY-----
root_cert = -----BEGIN CERTIFICATE-----
MIIBzTCCAXKgAwIBAgIUSHEXDSTlnBVpCHCZDpGow3Nt5XkwCgYIKoZIzj0EAwIw
UjEaMBgGA1UECgwRTlhQIFBsdWcgVHJ1c3QgQ0ExNDAyBgNVBAMMK3tjdXN0b21l
cl9uYW1lfS17Y3VzdG9tZXJfaWR9LUltcG9ydENBdkUyMDAwHhcNMTgxMjA2MTAx
NDEyWhcNMzMxMjA2MDQxNDEyWjBSMRowGAYDVQQKDBFOWFAgUGx1ZyBUcnVzdCBD
QTE0MDIGA1UEAwwre2N1c3RvbWVyX25hbWV9LXtjdXN0b21lcl9pZH0tSW1wb3J0
Q0F2RTIwMDBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABEgz03hmBVpuBipzqkOk
W24agXokycFFn1x3O0z9ZywYiAzEWLvfP7pxfICjd5k5xcuLsRryu/Rr7N0LSU5p
zAujJjAkMBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgKEMAoGCCqG
SM49BAMCA0kAMEYCIQCrMAFYE7qqCVORQnHsxJ9zXxN+OK2sgcmlmC6vyM7HvwIh
ANdI4Ur04EUUcrBiVtjwM9694gWK2GZInB6r6Pn/dPX1
-----END CERTIFICATE-----
root_private_key = -----BEGIN EC PRIVATE KEY-----
MHcCAQEEIMzgAGqaMUpU18XbN7umutk7PLFbh4xixvQtGcN6tzL3oAoGCCqGSM49
AwEHoUQDQgAESDPTeGYFWm4GKnOqQ6RbbhqBeiTJwUWfXHc7TP1nLBiIDMRYu98/
unF8gKN3mTnFy4uxGvK79Gvs3QtJTmnMCw==
-----END EC PRIVATE KEY-----
zmk_kcv = 96bb2e
client_cert: |
-----BEGIN CERTIFICATE-----
MIIBrDCCAVGgAwIBAgIUBABwAv//AAAAALsAAAAAAAACAAAwCgYIKoZIzj0EAwIw
UjEaMBgGA1UECgwRTlhQIFBsdWcgVHJ1c3QgQ0ExNDAyBgNVBAMMK3tjdXN0b21l
cl9uYW1lfS17Y3VzdG9tZXJfaWR9LUltcG9ydENBdkUyMDAwHhcNMTgxMjEzMTAz
NjM4WhcNMzAxMjEzMTAzNjM4WjBHMUUwQwYDVQQDDDxtb2NraHNtLTA0MDA3MDAy
ZmZmZjAwMDAwMDAwQkIwMDAwMDAwMDAwMDAwMi1LRVlfQ0VSVF9JT1RIVUIwWTAT
BgcqhkjOPQIBBggqhkjOPQMBBwNCAATeCUMVHXPh5OcMfp2yq0jbkEa2nfMvHgjo
RNHHz1Qhze9clJOUq7UUgJCccKHpSw1H/zZJFyXwQfNoXGb/BhjhoxAwDjAMBgNV
HRMBAf8EAjAAMAoGCCqGSM49BAMCA0kAMEYCIQC+8Jx3p38mHE5ZClT+jiTvwLDU
trPNWe6gLitj/3y9HgIhALsFFeIyaE0wHIW2KAD4vGHDe/iTckKoKvMIXi7hJvOY
-----END CERTIFICATE-----
customer_id: ffff
customer_name: mockhsm
device_id: 04007002ffff00000000BB00000000000002
kek_enc: 013377b059bbe9a944cabf5e08993cd905ecb110da0af8547d57121dc443800df0d3292b697e4e6836ca6a636e0b5cb231c11ce214
root_cert: |
-----BEGIN CERTIFICATE-----
MIIBzTCCAXKgAwIBAgIUSHEXDSTlnBVpCHCZDpGow3Nt5XkwCgYIKoZIzj0EAwIw
UjEaMBgGA1UECgwRTlhQIFBsdWcgVHJ1c3QgQ0ExNDAyBgNVBAMMK3tjdXN0b21l
cl9uYW1lfS17Y3VzdG9tZXJfaWR9LUltcG9ydENBdkUyMDAwHhcNMTgxMjA2MTAx
NDEyWhcNMzMxMjA2MDQxNDEyWjBSMRowGAYDVQQKDBFOWFAgUGx1ZyBUcnVzdCBD
QTE0MDIGA1UEAwwre2N1c3RvbWVyX25hbWV9LXtjdXN0b21lcl9pZH0tSW1wb3J0
Q0F2RTIwMDBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABEgz03hmBVpuBipzqkOk
W24agXokycFFn1x3O0z9ZywYiAzEWLvfP7pxfICjd5k5xcuLsRryu/Rr7N0LSU5p
zAujJjAkMBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgKEMAoGCCqG
SM49BAMCA0kAMEYCIQCrMAFYE7qqCVORQnHsxJ9zXxN+OK2sgcmlmC6vyM7HvwIh
ANdI4Ur04EUUcrBiVtjwM9694gWK2GZInB6r6Pn/dPX1
-----END CERTIFICATE-----
wrap_key_private_enc: f5b4e72d86189eaceb7c9d4828611cfe3a204171c2525b5ca56194e93a1ceb61
wrap_key_private_kcv: f3c33f
wrap_key_public_enc: fc0629cf9e2e6d024e8213b33f74184f1f7de2a4a1ac78fdddbe13ba7acf5686
wrap_key_public_kcv: 3ba249
zmk_kcv: 96bb2e
/reset
/atr
/select |a71ch
/send 809400EA 9000
/send 803201011077dff9364721b6561da4e4ec2e4067a9 9000
/send 8032020110a335fbfbe5938c7482b21db259c6b0c6 9000
/send 801200006180ed041c539b8b2d927738ade6988c08e3898c5c3607bb2dc142ba33f3c8321704de0943151d73e1e4e70c7e9db2ab48db9046b69df32f1e08e844d1c7cf5421cdef5c949394abb51480909c70a1e94b0d47ff36491725f041f3685c66ff0618e1 9000
/send 8072000080308201ac30820151a003020102021404007002ffff00000000bb000000000000020000300a06082a8648ce3d0403023052311a3018060355040a0c114e585020506c75672054727573742043413134303206035504030c2b7b637573746f6d65725f6e616d657d2d7b637573746f6d65725f69647d2d496d706f727443417645 9000
/send 8072008080323030301e170d3138313231333130333633385a170d3330313231333130333633385a30473145304306035504030c3c6d6f636b68736d2d3034303037303032666666663030303030303030424230303030303030303030303030322d4b45595f434552545f494f544855423059301306072a8648ce3d020106082a8648ce3d 9000
/send 807201008003010703420004de0943151d73e1e4e70c7e9db2ab48db9046b69df32f1e08e844d1c7cf5421cdef5c949394abb51480909c70a1e94b0d47ff36491725f041f3685c66ff0618e1a310300e300c0603551d130101ff04023000300a06082a8648ce3d0403020349003046022100bef09c77a77f261c4e590a54fe8e24efc0b0d4 9000
/send 8072018080b6b3cd59eea02e2b63ff7cbd1e022100bb0515e232684d301c85b62800f8bc61c37bf8937242a82af3085e2ee126f3980000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720200800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720280800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720300800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720380800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720400800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720480800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720500800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720580800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720600800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720680800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720700800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720780800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720800800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720880800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720900800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720980800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720a00800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720a80800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720b00800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720b80800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720c00800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720c80800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720d00800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720d80800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720e00800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720e80800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720f00800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 9000
/send 80720f8080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000090001b000000101 9000
-----BEGIN CERTIFICATE-----
MIIBqzCCAVGgAwIBAgIUBABwAv//AAAAALsAAAAAAAADAAAwCgYIKoZIzj0EAwIw
UjEaMBgGA1UECgwRTlhQIFBsdWcgVHJ1c3QgQ0ExNDAyBgNVBAMMK3tjdXN0b21l
cl9uYW1lfS17Y3VzdG9tZXJfaWR9LUltcG9ydENBdkUyMDAwHhcNMTgxMjEzMTAz
NjM5WhcNMzAxMjEzMTAzNjM5WjBHMUUwQwYDVQQDDDxtb2NraHNtLTA0MDA3MDAy
ZmZmZjAwMDAwMDAwQkIwMDAwMDAwMDAwMDAwMy1LRVlfQ0VSVF9JT1RIVUIwWTAT
BgcqhkjOPQIBBggqhkjOPQMBBwNCAATM7Pe9v43DBUCmLjTPDFzn2zSrTxScOO7F
lYZP9I4UlMHS47cIqE/1/8zBUB/k3IlULwFfq/iGnFmT48n6rGbWoxAwDjAMBgNV
HRMBAf8EAjAAMAoGCCqGSM49BAMCA0gAMEUCIQDCaTe0cOeSV8KqlWRfR+XR2wxN
+FFEIlM5l7W40oPcQQIgAZ6q6mNVGu20BkFfwGrCQEtEcitZzbpshP9KIEyzvB4=
-----END CERTIFICATE-----
-----BEGIN EC PRIVATE KEY-----
MHcCAQEEIG1rAvF8VxQFqctdoXi/QAfJAC90Ab8YgSMUmj+dhfJAoAoGCCqGSM49
AwEHoUQDQgAEzOz3vb+NwwVApi40zwxc59s0q08UnDjuxZWGT/SOFJTB0uO3CKhP
9f/MwVAf5NyJVC8BX6v4hpxZk+PJ+qxm1g==
-----END EC PRIVATE KEY-----
[device]
customer_name = mockhsm
customer_id = ffff
device_id = 04007002ffff00000000BB00000000000003
client_cert = -----BEGIN CERTIFICATE-----
MIIBqzCCAVGgAwIBAgIUBABwAv//AAAAALsAAAAAAAADAAAwCgYIKoZIzj0EAwIw
UjEaMBgGA1UECgwRTlhQIFBsdWcgVHJ1c3QgQ0ExNDAyBgNVBAMMK3tjdXN0b21l
cl9uYW1lfS17Y3VzdG9tZXJfaWR9LUltcG9ydENBdkUyMDAwHhcNMTgxMjEzMTAz
NjM5WhcNMzAxMjEzMTAzNjM5WjBHMUUwQwYDVQQDDDxtb2NraHNtLTA0MDA3MDAy
ZmZmZjAwMDAwMDAwQkIwMDAwMDAwMDAwMDAwMy1LRVlfQ0VSVF9JT1RIVUIwWTAT
BgcqhkjOPQIBBggqhkjOPQMBBwNCAATM7Pe9v43DBUCmLjTPDFzn2zSrTxScOO7F
lYZP9I4UlMHS47cIqE/1/8zBUB/k3IlULwFfq/iGnFmT48n6rGbWoxAwDjAMBgNV
HRMBAf8EAjAAMAoGCCqGSM49BAMCA0gAMEUCIQDCaTe0cOeSV8KqlWRfR+XR2wxN
+FFEIlM5l7W40oPcQQIgAZ6q6mNVGu20BkFfwGrCQEtEcitZzbpshP9KIEyzvB4=
-----END CERTIFICATE-----
kek_enc = 013377b059bbe9a944cabf5e08993cd905ecb110da0af8547d57121dc443800df0d3292b697e4e6836ca6a636e0b5cb231c11ce214
wrap_key_private_enc = 669ab6d26efea5e92285be2007804b9cf9c8927e050773925f9821f530ff4219
wrap_key_private_kcv = 7b2c61
wrap_key_public_enc = 6f38cc1e46c32f403b06901726b98b974003c6b60739bbb917888278a29697fd
wrap_key_public_kcv = 9305ec
wrap_key_private = 9346f44bacf0b2547733867c8b61a3f7
wrap_key_public = 2a2fc63c3a4d928745e83cfb46fe5383
client_private_key = -----BEGIN EC PRIVATE KEY-----
MHcCAQEEIG1rAvF8VxQFqctdoXi/QAfJAC90Ab8YgSMUmj+dhfJAoAoGCCqGSM49
AwEHoUQDQgAEzOz3vb+NwwVApi40zwxc59s0q08UnDjuxZWGT/SOFJTB0uO3CKhP
9f/MwVAf5NyJVC8BX6v4hpxZk+PJ+qxm1g==
-----END EC PRIVATE KEY-----
root_cert = -----BEGIN CERTIFICATE-----
MIIBzTCCAXKgAwIBAgIUSHEXDSTlnBVpCHCZDpGow3Nt5XkwCgYIKoZIzj0EAwIw
UjEaMBgGA1UECgwRTlhQIFBsdWcgVHJ1c3QgQ0ExNDAyBgNVBAMMK3tjdXN0b21l
cl9uYW1lfS17Y3VzdG9tZXJfaWR9LUltcG9ydENBdkUyMDAwHhcNMTgxMjA2MTAx
NDEyWhcNMzMxMjA2MDQxNDEyWjBSMRowGAYDVQQKDBFOWFAgUGx1ZyBUcnVzdCBD
QTE0MDIGA1UEAwwre2N1c3RvbWVyX25hbWV9LXtjdXN0b21lcl9pZH0tSW1wb3J0
Q0F2RTIwMDBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABEgz03hmBVpuBipzqkOk
W24agXokycFFn1x3O0z9ZywYiAzEWLvfP7pxfICjd5k5xcuLsRryu/Rr7N0LSU5p
zAujJjAkMBIGA1UdEwEB/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgKEMAoGCCqG
SM49BAMCA0kAMEYCIQCrMAFYE7qqCVORQnHsxJ9zXxN+OK2sgcmlmC6vyM7HvwIh
ANdI4Ur04EUUcrBiVtjwM9694gWK2GZInB6r6Pn/dPX1
-----END CERTIFICATE-----
root_private_key = -----BEGIN EC PRIVATE KEY-----
MHcCAQEEIMzgAGqaMUpU18XbN7umutk7PLFbh4xixvQtGcN6tzL3oAoGCCqGSM49
AwEHoUQDQgAESDPTeGYFWm4GKnOqQ6RbbhqBeiTJwUWfXHc7TP1nLBiIDMRYu98/
unF8gKN3mTnFy4uxGvK79Gvs3QtJTmnMCw==
-----END EC PRIVATE KEY-----
zmk_kcv = 96bb2e
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment