Open npmccallum opened 4 years ago
---- pk::tests::generate_rsa stdout ---- thread 'pk::tests::generate_rsa' panicked at 'assertion failed: `(left == right)` left: `"-----BEGIN RSA PRIVATE KEY-----\nMIIEogIBAAKCAQEAwb/rZBXDrQGfhFxilVoSE1r4G5r02Y6ukGawXIenxcLVl0AQ\ncmy5IpFZ71cKQxq2fPD1KzVBsADLIwnItdYhvw4qzE6k6BJ4PxwyuJkGVuz1Cnps\nOWBqdspDcsN+BSUtD+0CJwMuxWWD+dAqt1Tdyd/r0Ntoo2JdQWESHGKYQl4Ijd1f\nVMLv0W4Oq9/frP/l4EGqvNyT1J50BslI/KB6CgvTfaC5UkrxQ0uyiYgoOBkZMR42\nHRJWNVHkK/8r454I8Glga+9yKRDA9fX2DvRfq2OXqKce0rOZhCVeoSecTgOfVRjr\nHBmBCwGAJ8LN6ed4r1hnznVk/9FAljLlul4aJQIDAQABAoIBAFiPxeSbUDSyE7y4\nT/Wt1KpVQCi6JWaWojNuRPoepfEvFFvNFFeBXASxhPbyhcXTnYuxxpdIAi0Vx8TN\n0ZlQdl9y9dwqrJVJ7/4FAShBBlVQfdeaywJVEIUZAkiglGd8rULk1sGHYmcndnKH\nlSb022ZN/OgcipF4QmFCojkoVimrL0qxYU4vA2kdXcKh2jF6w32WxbkwgZpjoMi8\nZnu7TbVcGO+qJ+o44Giyn0j67NK5rX96CKZpYKh46Dlcluu8Neec/ycgEQydk0V7\nGNNytSJtWBzZTJXDZAojYWM4vxWhsexlNSPbqP3pMEhBUAmJxY+h7frbwiUniHYI\noejoeNcCgYEA3wLtgU335NKJOWrElWQd9nN7Dx9AuaTq7HOXf0eJs2KBsgMGuGWi\nyXNnbg0oLmnzfh3l6H8qsDKlhptMcPk59iQE9zZXM6eF6COZFVKqUizYXQqiRf+L\nHh8Z0cItO2h7BU18i/j6TMpPGx+AMumUugCP6dO/NN9+SJ1iBs85ohsCgYEA3mjl\n3DokRJ9n5l39fQsgk18idGQfv6/a8xTTyHeVO1uVIpieHiFo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c7mzpFo3vo/\npcMcmQKBgCVZpfRJxJ1pc4v0M2pxF3zsyDo3CbvhO7ZjOwYyNa5A+p65BsGbOjuR\n2v6GLNvYtgqM+FXqTyqz2RkyoKIOqXyOWdSDPHaP2mu5A0xaTom6H7F8PuNFIm4F\niy6KC991zzvaWY/Ys+q/84Afqa+0qJKQnPuy/7F5GkVdQA/lfbhi\n-----END RSA PRIVATE KEY-----\n"`', src/pk/mod.rs:883:9 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
Depends on #1, #2 and #3 when testing on Fedora's libmbedtls.
libmbedtls