Add Nonce reuse detection.
Build example as part of tests.
This commit is contained in:
parent
2d0ed351ea
commit
ac15f86705
@ -14,6 +14,7 @@ cache:
|
|||||||
script:
|
script:
|
||||||
- crystal spec
|
- crystal spec
|
||||||
- crystal tool format --check
|
- crystal tool format --check
|
||||||
|
- shards build
|
||||||
- crystal docs
|
- crystal docs
|
||||||
deploy:
|
deploy:
|
||||||
provider: pages
|
provider: pages
|
||||||
|
@ -21,6 +21,7 @@ Crystal bindings for the [libsodium API](https://libsodium.gitbook.io/doc/)
|
|||||||
- [x] [Sealed Box](https://libsodium.gitbook.io/doc/public-key_cryptography/sealed_boxes)
|
- [x] [Sealed Box](https://libsodium.gitbook.io/doc/public-key_cryptography/sealed_boxes)
|
||||||
- [ ] [Combined Signatures](https://libsodium.gitbook.io/doc/public-key_cryptography/public-key_signatures)
|
- [ ] [Combined Signatures](https://libsodium.gitbook.io/doc/public-key_cryptography/public-key_signatures)
|
||||||
- [x] ☑ [Detached Signatures](https://libsodium.gitbook.io/doc/public-key_cryptography/public-key_signatures)
|
- [x] ☑ [Detached Signatures](https://libsodium.gitbook.io/doc/public-key_cryptography/public-key_signatures)
|
||||||
|
- [ ] [Pre-hashed Signatures](https://libsodium.gitbook.io/doc/public-key_cryptography/public-key_signatures)
|
||||||
- [Secret-Key Cryptography](https://libsodium.gitbook.io/doc/secret-key_cryptography)
|
- [Secret-Key Cryptography](https://libsodium.gitbook.io/doc/secret-key_cryptography)
|
||||||
- Secret Box
|
- Secret Box
|
||||||
- [x] ☑ [Combined mode](https://libsodium.gitbook.io/doc/secret-key_cryptography/authenticated_encryption)
|
- [x] ☑ [Combined mode](https://libsodium.gitbook.io/doc/secret-key_cryptography/authenticated_encryption)
|
||||||
@ -52,6 +53,7 @@ Crystal bindings for the [libsodium API](https://libsodium.gitbook.io/doc/)
|
|||||||
- [ ] Padding
|
- [ ] Padding
|
||||||
- Library features
|
- Library features
|
||||||
- [x] Faster builds by requiring what you need (`require "sodium/secret_box"`)
|
- [x] Faster builds by requiring what you need (`require "sodium/secret_box"`)
|
||||||
|
- [x] Nonce reuse detection.
|
||||||
- [x] All SecretKey's held in libsodium guarded memory.
|
- [x] All SecretKey's held in libsodium guarded memory.
|
||||||
- [ ] Controlled memory wiping (by calling `.close`)
|
- [ ] Controlled memory wiping (by calling `.close`)
|
||||||
|
|
||||||
|
@ -5,4 +5,9 @@ authors:
|
|||||||
- Andrew Hamon <andrew@hamon.cc>
|
- Andrew Hamon <andrew@hamon.cc>
|
||||||
- Didactic Drunk <1479616+didactic-drunk@users.noreply.github.com>
|
- Didactic Drunk <1479616+didactic-drunk@users.noreply.github.com>
|
||||||
crystal: 0.29.0
|
crystal: 0.29.0
|
||||||
|
targets:
|
||||||
|
pwhash_selector:
|
||||||
|
main: examples/pwhash_selector.cr
|
||||||
|
libraries:
|
||||||
|
libsodium: ">= 1.0.18"
|
||||||
license: MIT
|
license: MIT
|
||||||
|
Loading…
Reference in New Issue
Block a user