Commit Graph

159 Commits (c75a51c078421d884d9d896e0ce9347b5281256f)

Author SHA1 Message Date
Didactic Drunk c75a51c078 Add Sodium::Nonce.random
Improve Nonce used detection
Improve Nonce documentation
2021-06-07 11:05:13 -07:00
Didactic Drunk ca9b905b73 Remove .travis.yml 2021-06-06 00:27:26 -07:00
Didactic Drunk a11105ef4a Add commits since last release badge 2021-06-06 00:25:51 -07:00
Didactic Drunk 6805abd977 Fix Sodium::Password::Key::Create starting memlimit 2021-06-04 07:56:10 -07:00
Didactic Drunk c9e40da973 Cache libsodium build in github actions 2021-06-02 20:42:39 -07:00
Didactic Drunk 35fcda70aa SecureBuffer: raise when out of memory 2021-06-02 20:25:28 -07:00
Didactic Drunk fb77719d51 Change build status to github actions 2021-06-01 11:43:06 -07:00
Didactic Drunk 0c4f5b3ad9 Remove sudo from apt-get
echo to stderr
2021-06-01 11:35:46 -07:00
Didactic Drunk 7bbb393ef5 Add github actions 2021-06-01 01:55:42 -07:00
Didactic Drunk 4da95b6398 Document SecureBuffer thread safety 2021-05-28 01:26:27 -07:00
Didactic Drunk 38bd985103 Keep identical state in Sodium::SecureBuffer#dup 2021-05-16 22:42:49 -07:00
Didactic Drunk 3124048a43 Add blake2b_hash to targets 2021-04-25 18:20:42 -07:00
didactic-drunk 690095ae9f
Merge pull request #14 from m-o-e/fix-version-mismatch
Fix version mismatch (shard.yml vs release tag)
2021-04-20 15:40:29 -07:00
moe ed4d9b9b6a
Bump version to v1.2.3 2021-04-18 21:05:19 +02:00
Didactic Drunk 234a1fa06f Crystal 1.0.0 support 2021-03-26 20:02:38 -07:00
Didactic Drunk b271192465 Document recommended KDF use 2021-03-26 13:56:26 -07:00
Didactic Drunk 67a1a655ef Add password based encryption example 2021-03-23 15:52:40 -07:00
Didactic Drunk 1bb746c888 Add KDF.xchacha20poly1305_ietf 2021-03-23 15:52:15 -07:00
Didactic Drunk 0187d06e96 SecureBuffer#wipe with block 2021-03-22 10:23:13 -07:00
Didactic Drunk b55b6808f2 Release 1.2.1 2021-03-19 09:40:54 -07:00
Didactic Drunk b79d15c039 Documentation 2021-03-18 19:46:39 -07:00
Didactic Drunk 0ecb0fd572 Remove travis osx. Seems broken. 2021-03-18 14:07:42 -07:00
Didactic Drunk 497af4b401 Formatting changes. 2021-03-18 11:28:32 -07:00
Didactic Drunk f9de09f2d7 crystal backwards compatibility 2021-03-18 11:11:19 -07:00
didactic-drunk c96b01f712
Merge pull request #12 from fero46/master
upgrade for crystal 0.36.0
2021-03-18 11:04:41 -07:00
Ferhat Ziba e68a316e8a upgrade for crystal 0.36.0 2021-01-29 10:42:16 +01:00
didactic-drunk a3eb428526
Merge pull request #10 from mixflame/master
fix bug in env.sh
2020-07-27 10:27:52 -07:00
Jonathan Silverman 32bde4c297
fix bug in env.sh 2020-07-26 19:19:30 -06:00
Didactic Drunk da188875c4 Generate Sodium::Sign::SecretKey#seed. 2020-07-18 22:49:13 -07:00
Didactic Drunk f0213b88c8 Expose Sodium::Sign::SecretKey#seed. 2020-07-18 22:35:27 -07:00
Didactic Drunk c998625056 Continue #8 2020-07-14 15:52:06 -07:00
Didactic Drunk 3d700b6157 fixes #8. 2020-07-10 17:06:53 -07:00
Didactic Drunk 87d1c12f5b Release 1.2.0 2020-06-28 16:34:24 -07:00
Didactic Drunk 8134714804 Sodium::Digest::Blake2b Log.warn on small key size. 2020-06-28 16:32:52 -07:00
Didactic Drunk f1a225b03b Sodium::Digest::Blake2b Add #hexfinal(dst).
Better specs.
2020-06-28 16:30:17 -07:00
didactic-drunk 55b7acbbb9
Merge pull request #7 from didactic-drunk/crystal_0_35
Crystal <= 0.34 backport `final` methods from crystal 0.35.
2020-05-18 23:25:47 -07:00
Didactic Drunk a8f716de09 Crystal <= 0.34 backport `final` methods from crystal 0.35.
Crystal = 0.35 use new Digest::Base interface.
Crystal > 0.35 futureport `hexfinal` method.
2020-05-18 23:13:50 -07:00
didactic-drunk 7155cee26c
Merge pull request #6 from didactic-drunk/docker_bugfix
Docker bugfix #3.
2020-05-11 11:15:51 -07:00
Didactic Drunk 57f6467e08 Docker bugfix #3. 2020-05-11 09:57:16 -07:00
Didactic Drunk 9a164a0be0 Add Ed25519 and Ristretto c functions. 2020-05-10 14:14:52 -07:00
Didactic Drunk 2c635f529d Remove XChaCha16. 2020-05-10 09:49:06 -07:00
didactic-drunk 3447574639
Merge pull request #4 from m-o-e/patch-1
Fix broken link in README (Blake2b)
2020-05-08 10:26:51 -07:00
moe 39f3f13deb
Fix broken link in README (Blake2b) 2020-05-08 12:49:29 +02:00
Didactic Drunk ea4fc4e9a6 Fix KEY_SIZE and NONCE_SIZE for non-ietf salsa/chacha ciphers.
Allow dupping various classes.
2019-11-25 06:44:33 -08:00
Didactic Drunk d7f5b6e717 Release 1.1.1
Fix Crystal 0.31 warnings.
2019-11-10 19:12:59 -08:00
Didactic Drunk 61191d96a6 Fix Crystal 0.31 warnings. 2019-11-10 19:07:57 -08:00
Didactic Drunk 59d8d543b2 Fix Crystal 0.31 warnings. 2019-10-28 14:12:03 -07:00
didactic-drunk 515ad1b722
Merge pull request #2 from kefahi/master
Fix the shard.yml setup in readme
2019-10-13 18:16:05 -07:00
Kefah T. Issa 3596abdb3c
Fix the shard.yml setup
The shard name should be "sodium" without .cr otherwise we get an error when running `shards install`
2019-10-13 21:43:46 +03:00
Didactic Drunk f766db7e9e Sodium::SecureBuffer Fix copying noaccess SecureBuffer's. 2019-09-28 08:58:25 -07:00