{"action":"created","issue":{"url":"https://api.github.com/repos/r-olm/r-olm/issues/1","repository_url":"https://api.github.com/repos/r-olm/r-olm","labels_url":"https://api.github.com/repos/r-olm/r-olm/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/r-olm/r-olm/issues/1/comments","events_url":"https://api.github.com/repos/r-olm/r-olm/issues/1/events","html_url":"https://github.com/r-olm/r-olm/issues/1","id":314435329,"number":1,"title":"Crates that provide the needed crypto","user":{"login":"brycx","id":34031846,"avatar_url":"https://avatars0.githubusercontent.com/u/34031846?v=4","gravatar_id":"","url":"https://api.github.com/users/brycx","html_url":"https://github.com/brycx","followers_url":"https://api.github.com/users/brycx/followers","following_url":"https://api.github.com/users/brycx/following{/other_user}","gists_url":"https://api.github.com/users/brycx/gists{/gist_id}","starred_url":"https://api.github.com/users/brycx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brycx/subscriptions","organizations_url":"https://api.github.com/users/brycx/orgs","repos_url":"https://api.github.com/users/brycx/repos","events_url":"https://api.github.com/users/brycx/events{/privacy}","received_events_url":"https://api.github.com/users/brycx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-15T17:35:06Z","updated_at":"2018-04-16T09:57:46Z","closed_at":null,"author_association":"OWNER","body":"We need to find crates that provide these: \r\n1. ed25519\r\n2. CSPRG\r\n3. HKDF\r\n4. HMAC\r\n5. AES-CBC (with PKCS#7)\r\n\r\nFor ed25519 we can use [ed25519-dalek](https://crates.io/crates/ed25519-dalek), which has been audited once. For HMAC and HKDF we can use [ring](https://crates.io/crates/ring) and for a CSPRG we can use both [ring](https://crates.io/crates/ring) and [rand](https://crates.io/crates/rand).\r\n\r\nThat still leaves AES-CBC (with PKCS#7).\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/r-olm/r-olm/issues/comments/381546033","html_url":"https://github.com/r-olm/r-olm/issues/1#issuecomment-381546033","issue_url":"https://api.github.com/repos/r-olm/r-olm/issues/1","id":381546033,"user":{"login":"brycx","id":34031846,"avatar_url":"https://avatars0.githubusercontent.com/u/34031846?v=4","gravatar_id":"","url":"https://api.github.com/users/brycx","html_url":"https://github.com/brycx","followers_url":"https://api.github.com/users/brycx/followers","following_url":"https://api.github.com/users/brycx/following{/other_user}","gists_url":"https://api.github.com/users/brycx/gists{/gist_id}","starred_url":"https://api.github.com/users/brycx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brycx/subscriptions","organizations_url":"https://api.github.com/users/brycx/orgs","repos_url":"https://api.github.com/users/brycx/repos","events_url":"https://api.github.com/users/brycx/events{/privacy}","received_events_url":"https://api.github.com/users/brycx/received_events","type":"User","site_admin":false},"created_at":"2018-04-16T09:57:46Z","updated_at":"2018-04-16T09:57:46Z","author_association":"OWNER","body":"Seems we need to implement AES in CBC with RustCrypto ourselves, and then add the padding. The crates from RustCrypto, [block-padding](https://crates.io/crates/block-padding), [block-modes](https://crates.io/crates/block-modes) and [aesni](https://crates.io/crates/aesni) seem to provide the functionality.\r\n\r\nOn the other hand, the [openssl](https://docs.rs/openssl/0.10.6/openssl/symm/struct.Crypter.html) crate provides AES-CBC. I think OpenSSL would be a better alternative to the older rust-crypto since it is actively maintained. We could just start with OpenSSL and see where things go from there?"}}
{"actor":{"display_login":"brycx"}}