Граф коммитов

50 Коммитов

Автор SHA1 Сообщение Дата
Jordandev678 e535dc4247
Fix aesgcm not accounting for padding (#45); r=rfk
* Fix aesgcm not accounting for padding
* Add check for padding being all zeros in aesgcm
2020-09-10 13:49:35 +10:00
Edouard Oger c7acb74345
Cut version 1.2.0 2020-05-25 12:08:48 -04:00
Edouard Oger 69d176ff40
Upgrade HKDF to 0.8 2020-05-25 12:07:06 -04:00
Tarik Eshaq 45b52b7946
Remove error backtracing and extra wrappers (#44) 2020-05-22 15:58:13 -04:00
Tarik Eshaq 0e175f16d7
Add derive thiserror so that Error impl std::error::Error (#42)
* replace failure with thiserror and backtrace
* adds thiserror::Error derive and uses #[from] to auto generate from impl
* adds thiserror::Error derive and uses #[from] to auto generate from impl
2020-05-20 10:55:35 -07:00
Tarik Eshaq 55f0bea806
replace failure with thiserror and backtrace (#40) 2020-05-20 10:04:37 -07:00
Edouard Oger 82a569c573 Bump version to v1.1.2 2020-04-15 19:16:26 -04:00
Edouard Oger 1a9434f855 Remove unnecessary parentheses 2020-04-15 19:16:26 -04:00
Edouard Oger 07f30f01b6 Bump base64 version 2020-04-15 19:16:26 -04:00
Edouard Oger ee23befd5f Bump version to v1.1.1 2019-09-03 09:35:09 -04:00
Ryan Kelly 26fcf64d6c Update to latest version of once_cell 2019-09-03 09:33:15 -04:00
Edouard Oger f95f28a602 Bump version to v1.1.0 2019-08-14 13:26:14 -04:00
Edouard Oger d24ab10f77 Allow trait-based dynamic crypto implementations 2019-08-14 13:26:14 -04:00
Edouard Oger 9d69d15da6
Bump version to v1.0.1 (#34) 2019-06-05 13:58:55 -04:00
Ryan Kelly f9a41d1c0a Make crypto_backend public (#28) 2019-06-05 13:54:26 -04:00
Edouard Oger 1d71e4d586 Remove openssl dev-dependency 2019-06-04 21:33:57 -04:00
Edouard Oger fb7024ee5b Fix serializable-keys feature (#33) 2019-06-04 17:02:27 -07:00
Edouard Oger 84869fc361 Bump version to v1.0.0 2019-05-29 16:44:27 -04:00
Edouard Oger 9340a53607 Add from/to_raw_components to LocalKeyPair and move some things around 2019-05-29 16:34:49 -04:00
JR Conlin d3fb5a11da
feat: Add convenience functions for encrypt/decrypt (#26)
* feat: Add convenience functions for encrypt/decrypt

Closes #25
2019-05-01 13:08:37 -07:00
Mozilla-GitHub-Standards 0c57bc6deb Add Mozilla Code of Conduct file
Fixes #22.

_(Message COC002)_
2019-03-31 13:43:14 -04:00
Edouard Oger 6d4da170c7 Bump version to 0.1.3 2019-03-12 18:05:40 -04:00
Edouard Oger 7850661b08 Add a generate keypair and auth secret helper method (#20) 2019-03-12 13:24:58 -07:00
Edouard Oger 6fb6700a3e Add security disclaimer 2019-03-06 14:51:14 -05:00
Edouard Oger 9ebfe170bd Bump version to 0.1.2 2019-02-21 15:48:40 -05:00
Edouard Oger 74e08fd731 Replace eoger Github org mentions by mozilla 2019-02-21 15:46:52 -05:00
jrconlin 95a376145b feat: Add Debug and Clone to OpenSSLLocalKeyPair
Closes #15
2019-01-22 18:57:20 -05:00
Edouard Oger d84340e650 Bump version to 0.1.1 2019-01-21 23:22:38 -05:00
Edouard Oger 93df60dedf Fix some 2018 paths 2019-01-21 23:21:43 -05:00
Edouard Oger 36e184bbe7 Prepare for publish 2019-01-21 23:06:13 -05:00
Edouard Oger 43eb776d41 Add JR to authors 2019-01-21 22:58:44 -05:00
Edouard Oger 3099e28651 Update deps 2019-01-21 22:57:16 -05:00
Edouard Oger c53043d9b9 Rust 2018 2019-01-21 22:47:38 -05:00
Edouard Oger cebf3ce102 Refactor the crypto backend implementation 2019-01-21 22:47:38 -05:00
JR Conlin a96cb8b77f
Merge pull request #11 from eoger/readme
Create README.md
2019-01-21 11:47:14 -08:00
JR Conlin 26b9707d48
Merge pull request #4 from jrconlin/feat/aesgcm
feat: Add aesgcm encrypted content support.
2019-01-21 11:14:51 -08:00
Edouard Oger 33fa73d31d
Add circleci/crates.io badges 2019-01-21 14:11:33 -05:00
Edouard Oger 1f14b9400d Create README.md 2019-01-21 14:05:13 -05:00
Edouard Oger 891c85d4c7 Run tests/format-check on CI 2019-01-21 14:01:44 -05:00
jrconlin 6da80cbced
f Cleanup
* address r's
* address clippy suggestions
2019-01-18 09:17:51 -08:00
jrconlin 8b6243e9f8
f fixes for crypto 2019-01-18 08:59:11 -08:00
jrconlin 1b77dab23c
feat: Add aesgcm encrypted content support.
* Updated dependencies
* ran cargo fmt
* commented unused consts
* moved WebPushParams to `common.rs`
* minimal test case for aesgcm based on externally generated & valid
  data.

Closes #3
2019-01-10 16:54:30 -08:00
Edouard Oger 564215d733 Add LocalKeyPair::generate_random and OpenSSLLocalKeyPair::to_raw 2018-11-20 16:26:34 -05:00
Edouard Oger a4b9af1233 Add OpenSSLRemotePublicKey::from_raw 2018-11-11 15:47:42 -05:00
Edouard Oger 88d59c66fb Move keys constructors to Crypto 2018-10-10 23:29:21 -04:00
Edouard Oger 2e16e3babe Rename test module 2018-10-10 17:59:29 -04:00
Edouard Oger 84eb5b8b61 Add aes128gcm encrypt 2018-10-10 17:59:16 -04:00
Edouard Oger 4b30b0c838 Refactor Crypto and Keys 2018-10-10 17:59:16 -04:00
Edouard Oger 95cf6b0051 Implement aes128gcm decrypt 2018-10-10 17:59:10 -04:00
Edouard Oger a7802643bb Initial commit 2018-10-10 17:57:43 -04:00