From 6078ee58a9c989f8c5893a8b889c694c6a5d0dc4 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Sun, 21 Jan 2024 22:04:42 +0100 Subject: [PATCH] add test key and cert --- data/cert.pem | 21 +++++++++++++++++++++ data/test.pem | 28 ++++++++++++++++++++++++++++ src/main.rs | 1 + 3 files changed, 50 insertions(+) create mode 100644 data/cert.pem create mode 100644 data/test.pem diff --git a/data/cert.pem b/data/cert.pem new file mode 100644 index 0000000..f5ba695 --- /dev/null +++ b/data/cert.pem @@ -0,0 +1,21 @@ +-----BEGIN CERTIFICATE----- +MIIDazCCAlOgAwIBAgIUPLZFd1ZmncG0bzFIhFBfxj7kKEMwDQYJKoZIhvcNAQEL +BQAwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgMClNvbWUtU3RhdGUxITAfBgNVBAoM +GEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDAeFw0yNDAxMjEyMTAzMTJaFw0yNDAy +MjAyMTAzMTJaMEUxCzAJBgNVBAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEw +HwYDVQQKDBhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQwggEiMA0GCSqGSIb3DQEB +AQUAA4IBDwAwggEKAoIBAQCyGMplbAbVnxqpxGOBCjUeZUQ/V7PmPFLPnjhUIOb5 +UBXt3aNE5qrL8VIUTia8ljv/1Ma3c+468e2c0BRv++Jvgbzi/LEAQfADapBz5ZD8 +vg3w0l7ilmP+3COCWK1NHCghc/4TxUIT16d+49Yy7udLK9+UEM7GJ5LBdGjmGNRw +6jFL1e1xZj6oSnUxD58zjou5Bv/1cY9+JENc2/C589AcNnBRpEn9ZcJKvRnC/Lfd +kXavMdk2VmLX9+YlTawwLP+kRI4Li223lOcnq2v6SYOkGNwWlivCMNMOg2pp7cxC +YRQhkS9QGXjAyrK1VJy8GEPNsEFsxc6p5O+/h3XVhrSLAgMBAAGjUzBRMB0GA1Ud +DgQWBBRWe92k4QFXu1aZo3m+FjAPXDCiszAfBgNVHSMEGDAWgBRWe92k4QFXu1aZ +o3m+FjAPXDCiszAPBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQBW +cxUTDKd1klBlTd8NOy72S3uiEts7M1Z4DjjMfvsqJBlEUNbUwmaauVTcp5kEu1iA +wGoQsa5dcCZmJxw3eXDuXg82rIX+FvqcJ/P/BE1kUAXYXa86AK+5rFCpblph71g5 +SWN23HcOMTeoiOjucCEx3tu48lGYKuoqmijQhaD4BNbYXFx3HzmdDCw/6YxshHOF +0aB7+K6ScMDgrdt25AowfmhYtbK0HV+jMnrl3SJwv6YcaqifXuw4vQ85fSHFxBKs +9YSPGLao0kPRMIJtrg+j6q0JaLNv0wwxi5gt2jb6jmYFsRJK1FJ9YBbBTIrP6pZ3 +9Xc0GIieYs8xY0LKdyTS +-----END CERTIFICATE----- diff --git a/data/test.pem b/data/test.pem new file mode 100644 index 0000000..786a50d --- /dev/null +++ b/data/test.pem @@ -0,0 +1,28 @@ +-----BEGIN PRIVATE KEY----- +MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCyGMplbAbVnxqp +xGOBCjUeZUQ/V7PmPFLPnjhUIOb5UBXt3aNE5qrL8VIUTia8ljv/1Ma3c+468e2c +0BRv++Jvgbzi/LEAQfADapBz5ZD8vg3w0l7ilmP+3COCWK1NHCghc/4TxUIT16d+ +49Yy7udLK9+UEM7GJ5LBdGjmGNRw6jFL1e1xZj6oSnUxD58zjou5Bv/1cY9+JENc +2/C589AcNnBRpEn9ZcJKvRnC/LfdkXavMdk2VmLX9+YlTawwLP+kRI4Li223lOcn +q2v6SYOkGNwWlivCMNMOg2pp7cxCYRQhkS9QGXjAyrK1VJy8GEPNsEFsxc6p5O+/ +h3XVhrSLAgMBAAECggEACRLgRPiTBJE9n4ak9y8Y87p/FqcWQFW0dmV+QzMF8Y/V +/i97oQgLjaZ24xf0O0mANxGVKkWazqAC1il30RjJOZsnj30GW5gAbXwh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Kb7wbChtiIYyghtRk9QLAZzDP/bc83denwjVg0mkbcynMCfeJg +ILvGfJEt28Dwf1StGv/fzI8= +-----END PRIVATE KEY----- diff --git a/src/main.rs b/src/main.rs index f0f5acc..a46b7bb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -29,5 +29,6 @@ async fn main() -> Result<()> { } // implicit else, so we can work without the server feature info!("starting client"); + todo!(); Ok(()) }