]> git.lizzy.rs Git - PAKEs.git/log
PAKEs.git
4 years agoremove num_traits dep
newpavlov [Thu, 7 Nov 2019 15:50:43 +0000 (18:50 +0300)]
remove num_traits dep

4 years agospake2: update to hex-0.4
Brian Warner [Wed, 6 Nov 2019 21:37:39 +0000 (13:37 -0800)]
spake2: update to hex-0.4

4 years agoSwitch from num to num-traits and num-bigint (#31)
est31 [Wed, 6 Nov 2019 12:31:52 +0000 (13:31 +0100)]
Switch from num to num-traits and num-bigint (#31)

4 years agoMerge branch 'pr28'
Brian Warner [Wed, 28 Aug 2019 18:59:01 +0000 (11:59 -0700)]
Merge branch 'pr28'

4 years agoFix spelling errors.
Brenden Matthews [Tue, 13 Aug 2019 19:09:49 +0000 (15:09 -0400)]
Fix spelling errors.

4 years agospake2: tighten the curve25519-dalek dependency to 1.2.x
Brian Warner [Wed, 7 Aug 2019 18:09:39 +0000 (11:09 -0700)]
spake2: tighten the curve25519-dalek dependency to 1.2.x

This was just "1", which allowed our MSRV to be accidentally raised from 1.31
to 1.32 without a deliberate spake2 minor-version bump (dalek-1.0.x compiles
with rustc-1.31, but dalek-1.1.x required 1.32).

Hopefully by making it "1.2", our MSRV will remain at 1.32 until we
explicitly decide to take on a dependency that needs something newer.

refs #21

4 years agotravis: use rust 'stable' for rustfmt check
Brian Warner [Wed, 7 Aug 2019 20:47:03 +0000 (13:47 -0700)]
travis: use rust 'stable' for rustfmt check

This was previously locked down at a specific version (1.31.0, much older
than the current 1.36), so we'd get consistent behavior over time. But since
we allow the rustfmt build to fail (it's in allow_failures), we don't need
this consistency so much. PR authors are expected to format their code
against the current stable rustfmt, but test it against the MSRV (currently
1.32.0).

refs #21

4 years agoMerge branch '21-pin-travis'
Brian Warner [Wed, 7 Aug 2019 20:44:14 +0000 (13:44 -0700)]
Merge branch '21-pin-travis'

refs #21

4 years agodocument MSRV, remove 1.31.1 from travis
Brian Warner [Wed, 7 Aug 2019 19:20:11 +0000 (12:20 -0700)]
document MSRV, remove 1.31.1 from travis

4 years agooops, be more specific about the rust version: 1.32.0
Brian Warner [Wed, 7 Aug 2019 17:53:46 +0000 (10:53 -0700)]
oops, be more specific about the rust version: 1.32.0

4 years agotravis: exercise 1.31.1 and 1.32
Brian Warner [Wed, 7 Aug 2019 17:49:56 +0000 (10:49 -0700)]
travis: exercise 1.31.1 and 1.32

1.31.1 is our intended MSRV (Minimum Supported Rust Version), but we probably
don't actually work there because of an insufficiently-constrained dependency
that requires 1.32.

1.32 is probably our actual MSRV, and will be the one we aim for going
forward.

refs #21

4 years agoMerge branch '21-update-hkdf'
Brian Warner [Wed, 7 Aug 2019 17:47:25 +0000 (10:47 -0700)]
Merge branch '21-update-hkdf'

refs #21

4 years agoupdate spake2 to current hkdf-0.8
Brian Warner [Wed, 7 Aug 2019 00:41:46 +0000 (17:41 -0700)]
update spake2 to current hkdf-0.8

4 years agospake2/Cargo.toml: num-bigint is merely a dev-dependency
Brian Warner [Thu, 18 Jul 2019 07:54:01 +0000 (00:54 -0700)]
spake2/Cargo.toml: num-bigint is merely a dev-dependency

We only use it in unit tests.

This might help with no-std, so refs #15

5 years agosrp doc fix. closes #16
Артём Павлов [Artyom Pavlov] [Sun, 7 Apr 2019 12:01:30 +0000 (15:01 +0300)]
srp doc fix. closes #16

5 years ago(cargo-release) start next development iteration spake2-v0.2.1-alpha.0
Brian Warner [Thu, 20 Dec 2018 21:15:43 +0000 (16:15 -0500)]
(cargo-release) start next development iteration spake2-v0.2.1-alpha.0

5 years ago(cargo-release) spake2-v0.2.0
Brian Warner [Thu, 20 Dec 2018 21:15:21 +0000 (16:15 -0500)]
(cargo-release) spake2-v0.2.0

5 years agosrp: release srp-0.4.0
Brian Warner [Thu, 20 Dec 2018 21:04:35 +0000 (16:04 -0500)]
srp: release srp-0.4.0

5 years agoMerge branch 'edition-2018'
Brian Warner [Thu, 20 Dec 2018 21:01:37 +0000 (16:01 -0500)]
Merge branch 'edition-2018'

5 years agosrp/Cargo.toml: remember to bump minor version for next release
Brian Warner [Thu, 20 Dec 2018 20:57:00 +0000 (15:57 -0500)]
srp/Cargo.toml: remember to bump minor version for next release

Since edition=2018 means we'll require rust-1.31

5 years agoUse curve25519-dalek v1
Henry de Valence [Fri, 14 Dec 2018 00:15:22 +0000 (16:15 -0800)]
Use curve25519-dalek v1

5 years agoupdate srp to idioms of edition-2018
Brian Warner [Thu, 6 Dec 2018 20:02:13 +0000 (12:02 -0800)]
update srp to idioms of edition-2018

5 years agosrp: fix to work with edition-2018
Brian Warner [Thu, 6 Dec 2018 19:57:53 +0000 (11:57 -0800)]
srp: fix to work with edition-2018

5 years agosrp: fix some low-hanging clippy warnings
Brian Warner [Thu, 6 Dec 2018 19:56:51 +0000 (11:56 -0800)]
srp: fix some low-hanging clippy warnings

5 years agoupdate spake2 to edition-2018
Brian Warner [Thu, 6 Dec 2018 19:48:10 +0000 (11:48 -0800)]
update spake2 to edition-2018

5 years agoreformat using rustfmt from latest 1.31.0
Brian Warner [Thu, 6 Dec 2018 19:17:51 +0000 (11:17 -0800)]
reformat using rustfmt from latest 1.31.0

5 years agospake2: Merge PR11: better Debug impl
Brian Warner [Thu, 6 Dec 2018 22:54:25 +0000 (14:54 -0800)]
spake2: Merge PR11: better Debug impl

5 years agoadd group name to SPAKE2 Debug impl
Brian Warner [Thu, 6 Dec 2018 19:30:21 +0000 (11:30 -0800)]
add group name to SPAKE2 Debug impl

5 years agoMore idiomatic Debug impl
Richo Healey [Tue, 4 Dec 2018 03:51:29 +0000 (19:51 -0800)]
More idiomatic Debug impl

5 years agotravis: update RUSTFMT to use rust-1.30 instead of 1.29
Brian Warner [Thu, 29 Nov 2018 18:19:39 +0000 (10:19 -0800)]
travis: update RUSTFMT to use rust-1.30 instead of 1.29

5 years agoMerge PR10: update-deps
Brian Warner [Thu, 29 Nov 2018 18:17:40 +0000 (10:17 -0800)]
Merge PR10: update-deps

5 years agofix rustfmt
Brian Warner [Thu, 29 Nov 2018 17:30:07 +0000 (09:30 -0800)]
fix rustfmt

5 years agodeps: update srp to lazy_static-1.2
Brian Warner [Wed, 28 Nov 2018 19:28:10 +0000 (11:28 -0800)]
deps: update srp to lazy_static-1.2

5 years agodeps: update to rand-0.6
Brian Warner [Tue, 27 Nov 2018 23:10:36 +0000 (15:10 -0800)]
deps: update to rand-0.6

5 years agofix spake2 doctests
Brian Warner [Tue, 30 Oct 2018 02:38:40 +0000 (19:38 -0700)]
fix spake2 doctests

5 years agospake2: add docs and basic doctest to lib.rs
Brian Warner [Mon, 29 Oct 2018 22:46:14 +0000 (15:46 -0700)]
spake2: add docs and basic doctest to lib.rs

5 years agoupdate SRP dependencies
Артём Павлов [Artyom Pavlov] [Mon, 22 Oct 2018 21:01:17 +0000 (00:01 +0300)]
update SRP dependencies

5 years agoREADME: add deps.rs badge
Brian Warner [Sat, 20 Oct 2018 16:39:12 +0000 (09:39 -0700)]
README: add deps.rs badge

5 years agoupdate spake2 deps (sha2-0.8, hkdf-0.7)
Brian Warner [Wed, 17 Oct 2018 17:44:37 +0000 (10:44 -0700)]
update spake2 deps (sha2-0.8, hkdf-0.7)

5 years agotravis: allow rustfmt to fail
Brian Warner [Wed, 17 Oct 2018 18:06:24 +0000 (11:06 -0700)]
travis: allow rustfmt to fail

I'm on the fence about this, but I have to admit that having your PR fail
because of formatting issues isn't a great experience for new contributors.

We will need to run `cargo fmt` ourselves on a regular basis.

5 years agospake2 code reorganization (#6)
Artyom Pavlov [Wed, 17 Oct 2018 18:11:24 +0000 (18:11 +0000)]
spake2 code reorganization (#6)

5 years agoadd doc logo
newpavlov [Wed, 17 Oct 2018 17:07:08 +0000 (20:07 +0300)]
add doc logo

5 years agoreplaced / with OR in license fields
newpavlov [Wed, 17 Oct 2018 17:04:59 +0000 (20:04 +0300)]
replaced / with OR in license fields

5 years ago(cargo-release) start next development iteration spake2-v0.1.2-alpha.0
Brian Warner [Tue, 16 Oct 2018 22:38:54 +0000 (15:38 -0700)]
(cargo-release) start next development iteration spake2-v0.1.2-alpha.0

5 years ago(cargo-release) spake2-v0.1.1
Brian Warner [Tue, 16 Oct 2018 22:38:38 +0000 (15:38 -0700)]
(cargo-release) spake2-v0.1.1

5 years agospake2/Cargo.toml: update keywords, description, categories
Brian Warner [Tue, 16 Oct 2018 22:29:36 +0000 (15:29 -0700)]
spake2/Cargo.toml: update keywords, description, categories

5 years agospake2: update to latest deps (curve25519-dalek-0.21)
Brian Warner [Tue, 16 Oct 2018 22:25:36 +0000 (15:25 -0700)]
spake2: update to latest deps (curve25519-dalek-0.21)

5 years agodelete spake2/.travis.yml and .gitignore, subsumed by top-level files
Brian Warner [Tue, 16 Oct 2018 22:16:55 +0000 (15:16 -0700)]
delete spake2/.travis.yml and .gitignore, subsumed by top-level files

5 years agoMerge branch 'rustfmt'
Brian Warner [Tue, 16 Oct 2018 22:14:26 +0000 (15:14 -0700)]
Merge branch 'rustfmt'

5 years agoreformat all code to match rustfmt-1.29.0
Brian Warner [Tue, 16 Oct 2018 22:07:07 +0000 (15:07 -0700)]
reformat all code to match rustfmt-1.29.0

5 years agotravis: cargo fmt now wants --check
Brian Warner [Tue, 16 Oct 2018 22:07:07 +0000 (15:07 -0700)]
travis: cargo fmt now wants --check

5 years agotravis: need to install rustfmt component
Brian Warner [Tue, 16 Oct 2018 22:03:23 +0000 (15:03 -0700)]
travis: need to install rustfmt component

5 years agotravis: test rustfmt too
Brian Warner [Tue, 16 Oct 2018 21:59:32 +0000 (14:59 -0700)]
travis: test rustfmt too

5 years agospake2/Cargo.toml: add metadata to fix cargo-release commit messages
Brian Warner [Tue, 16 Oct 2018 21:53:28 +0000 (14:53 -0700)]
spake2/Cargo.toml: add metadata to fix cargo-release commit messages

This ensures that our tags and automatically-generated commits (before and
after each release, automated by 'cargo-release') refer to the correct
version strings, like "spake2-v0.1.0". The default tag would be
"spake2-0.1.0", and the commit messages wouldn't mention "spake2" at
all (which might get confusing now that we have multiple crates in a single
repo).

5 years agoCargo.toml: update repo URLs
Brian Warner [Tue, 16 Oct 2018 18:06:26 +0000 (11:06 -0700)]
Cargo.toml: update repo URLs

finish relicensing spake2 to MIT/Apache-2.0

5 years agoREADMEs: relicense spake2 under dual MIT+Apache2
Brian Warner [Tue, 16 Oct 2018 18:02:55 +0000 (11:02 -0700)]
READMEs: relicense spake2 under dual MIT+Apache2

Also update spake2 protocol URL, update badges.

5 years agoCargo.toml: add spake2 to the workspace
Brian Warner [Tue, 16 Oct 2018 17:25:03 +0000 (10:25 -0700)]
Cargo.toml: add spake2 to the workspace

5 years agoreadme update
Артём Павлов [Artyom Pavlov] [Tue, 16 Oct 2018 17:16:54 +0000 (20:16 +0300)]
readme update

5 years agoAdd 'spake2/' from commit 'f6e9d07dffa9a9b39f203c23043f93337ebe1ab6'
Brian Warner [Tue, 16 Oct 2018 00:13:55 +0000 (17:13 -0700)]
Add 'spake2/' from commit 'f6e9d07dffa9a9b39f203c23043f93337ebe1ab6'

git-subtree-dir: spake2
git-subtree-mainline: 1afa40d15b0c2cecc989bdfc67a5251aa5cd5954
git-subtree-split: f6e9d07dffa9a9b39f203c23043f93337ebe1ab6

This moves https://github.com/warner/spake2.rs into the "spake2/"
subdirectory of https://github.com/RustCrypto/PAKEs .

I'll move the release tags over next, then update the travis config and
READMEs.

5 years agoREADME/Cargo.toml: add more badges
Brian Warner [Mon, 24 Sep 2018 18:44:06 +0000 (11:44 -0700)]
README/Cargo.toml: add more badges

5 years ago(cargo-release) start next development iteration 0.1.1-alpha.0
Brian Warner [Tue, 21 Aug 2018 04:54:04 +0000 (21:54 -0700)]
(cargo-release) start next development iteration 0.1.1-alpha.0

5 years ago(cargo-release) version 0.1.0
Brian Warner [Tue, 21 Aug 2018 04:53:46 +0000 (21:53 -0700)]
(cargo-release) version 0.1.0

5 years agoREADME: oops, I was supposed to bump the minor version for this release
Brian Warner [Tue, 21 Aug 2018 04:52:16 +0000 (21:52 -0700)]
README: oops, I was supposed to bump the minor version for this release

I introduced a breaking API change, and should have named that last release
0.1.0 instead of 0.0.9. I'll release this as 0.1.0.

5 years ago(cargo-release) start next development iteration 0.0.10-alpha.0
Brian Warner [Tue, 21 Aug 2018 04:45:11 +0000 (21:45 -0700)]
(cargo-release) start next development iteration 0.0.10-alpha.0

5 years ago(cargo-release) version 0.0.9
Brian Warner [Tue, 21 Aug 2018 04:44:43 +0000 (21:44 -0700)]
(cargo-release) version 0.0.9

5 years agoREADME: soften the disclaimer by roughly 24%
Brian Warner [Tue, 21 Aug 2018 04:39:48 +0000 (21:39 -0700)]
README: soften the disclaimer by roughly 24%

5 years agocargo fmt
Brian Warner [Tue, 21 Aug 2018 04:39:41 +0000 (21:39 -0700)]
cargo fmt

5 years agoupdate deps: hkdf-0.6
Brian Warner [Tue, 21 Aug 2018 04:36:33 +0000 (21:36 -0700)]
update deps: hkdf-0.6

5 years agoupdate deps: curve25519-dalek=0.19
Brian Warner [Fri, 27 Jul 2018 18:07:56 +0000 (11:07 -0700)]
update deps: curve25519-dalek=0.19

5 years agoforbid unsafe_code, and warnings durings tests
Brian Warner [Thu, 19 Jul 2018 23:40:06 +0000 (16:40 -0700)]
forbid unsafe_code, and warnings durings tests

5 years agoupdate deps: curve25519-dalek=0.18
Brian Warner [Tue, 26 Jun 2018 05:18:10 +0000 (22:18 -0700)]
update deps: curve25519-dalek=0.18

6 years agouse newtypes for Password and Identity to avoid usage errors
Brian Warner [Sun, 3 Jun 2018 20:57:19 +0000 (13:57 -0700)]
use newtypes for Password and Identity to avoid usage errors

This a breaking API change. The next release should bump the minor version
number.

As discussed in https://github.com/warner/spake2.rs/issues/3 and
https://github.com/warner/magic-wormhole.rs/issues/32 , if an application
were to accidentally swap the "password" and "identity" arguments (mainly for
start_symmetric which only takes two args), the app would appear to work, but
would contain a devastating security vulnerability (online brute-force
password attack, with precomputation enabled).

You might think of newtypes as giving the API named parameters. Instead of:

`s = start_symmetric(b"pw", b"appid")`

you get:

`s = start_symmetric(&Password::new(b"pw"), &Identity::new(b"appid"))`

but it protects you (with a compile-time error) against mistakes like:

`s = start_symmetric(&Identity::new(b"appid"), &Password::new(b"pw"))`

I'd like to find a way to remove requirement to pass a reference (and enable
`start_symmetric(Password::new(..)..)`).

6 years ago(cargo-release) start next development iteration 0.0.9-alpha.0
Brian Warner [Sat, 26 May 2018 20:12:27 +0000 (13:12 -0700)]
(cargo-release) start next development iteration 0.0.9-alpha.0

6 years ago(cargo-release) version 0.0.8
Brian Warner [Sat, 26 May 2018 20:12:13 +0000 (13:12 -0700)]
(cargo-release) version 0.0.8

6 years agoupdate deps: num-bigint=0.2
Brian Warner [Sat, 26 May 2018 19:54:25 +0000 (12:54 -0700)]
update deps: num-bigint=0.2

6 years ago(cargo-release) start next development iteration 0.0.8-alpha.0
Brian Warner [Fri, 25 May 2018 19:24:15 +0000 (12:24 -0700)]
(cargo-release) start next development iteration 0.0.8-alpha.0

6 years ago(cargo-release) version 0.0.7
Brian Warner [Fri, 25 May 2018 19:23:51 +0000 (12:23 -0700)]
(cargo-release) version 0.0.7

6 years agotravis: add rustfmt, ignore WIP-* branches
Brian Warner [Fri, 25 May 2018 19:17:08 +0000 (12:17 -0700)]
travis: add rustfmt, ignore WIP-* branches

6 years agoderive Eq and PartialEq too
Brian Warner [Fri, 25 May 2018 19:11:16 +0000 (12:11 -0700)]
derive Eq and PartialEq too

6 years agoCargo.toml: remove redundant dev-dep on hex
Brian Warner [Fri, 25 May 2018 18:56:44 +0000 (11:56 -0700)]
Cargo.toml: remove redundant dev-dep on hex

6 years agoimplement Debug for SPAKE2, to help downstream applications derive it
Brian Warner [Fri, 25 May 2018 18:54:30 +0000 (11:54 -0700)]
implement Debug for SPAKE2, to help downstream applications derive it

6 years ago(cargo-release) start next development iteration 0.0.7-alpha.0
Brian Warner [Wed, 23 May 2018 00:23:21 +0000 (17:23 -0700)]
(cargo-release) start next development iteration 0.0.7-alpha.0

6 years ago(cargo-release) version 0.0.6
Brian Warner [Wed, 23 May 2018 00:22:55 +0000 (17:22 -0700)]
(cargo-release) version 0.0.6

6 years agocargo fmt
Brian Warner [Wed, 23 May 2018 00:15:46 +0000 (17:15 -0700)]
cargo fmt

6 years agoCargo.toml: update to latest hkdf
Brian Warner [Tue, 22 May 2018 23:55:10 +0000 (16:55 -0700)]
Cargo.toml: update to latest hkdf

6 years agoCargo.toml: update to latest rand and curve25519-dalek
Brian Warner [Tue, 22 May 2018 23:52:19 +0000 (16:52 -0700)]
Cargo.toml: update to latest rand and curve25519-dalek

6 years ago(cargo-release) start next development iteration 0.0.6-alpha.0
Brian Warner [Sun, 29 Apr 2018 21:28:08 +0000 (14:28 -0700)]
(cargo-release) start next development iteration 0.0.6-alpha.0

6 years ago(cargo-release) version 0.0.5
Brian Warner [Sun, 29 Apr 2018 21:27:50 +0000 (14:27 -0700)]
(cargo-release) version 0.0.5

6 years agodoc update
newpavlov [Sat, 14 Apr 2018 10:06:36 +0000 (13:06 +0300)]
doc update

6 years agoupdate to curve25519-dalek-0.16
Brian Warner [Sat, 24 Mar 2018 22:39:59 +0000 (15:39 -0700)]
update to curve25519-dalek-0.16

6 years agoupdate to hkdf-0.4
Brian Warner [Sat, 24 Mar 2018 22:37:46 +0000 (15:37 -0700)]
update to hkdf-0.4

6 years agoupdate to curve25519-dalek-0.15
Brian Warner [Tue, 6 Mar 2018 00:42:48 +0000 (16:42 -0800)]
update to curve25519-dalek-0.15

6 years agoremove redundant field names, thanks clippy
Brian Warner [Tue, 27 Feb 2018 06:11:16 +0000 (22:11 -0800)]
remove redundant field names, thanks clippy

6 years agospake2.rs: remove unnecessary ref, thanks clippy
Brian Warner [Sun, 11 Feb 2018 02:08:02 +0000 (18:08 -0800)]
spake2.rs: remove unnecessary ref, thanks clippy

6 years ago(cargo-release) start next development iteration 0.0.5-alpha.0
Brian Warner [Sun, 28 Jan 2018 19:38:22 +0000 (11:38 -0800)]
(cargo-release) start next development iteration 0.0.5-alpha.0

6 years ago(cargo-release) version 0.0.4
Brian Warner [Sun, 28 Jan 2018 19:38:08 +0000 (11:38 -0800)]
(cargo-release) version 0.0.4

6 years agoupdate to rand-0.4, since dalek-0.14.4 uses it
Brian Warner [Thu, 25 Jan 2018 21:17:34 +0000 (13:17 -0800)]
update to rand-0.4, since dalek-0.14.4 uses it

for some reason this was causing compile errors against dalek-0.14.4 but not
0.14.0

6 years agoformat everything with rustfmt
Brian Warner [Tue, 19 Dec 2017 07:13:59 +0000 (23:13 -0800)]
format everything with rustfmt

6 years agoupdate to curve25519-dalek-0.14
Brian Warner [Wed, 6 Dec 2017 07:09:36 +0000 (23:09 -0800)]
update to curve25519-dalek-0.14

6 years ago(cargo-release) start next development iteration 0.0.4-alpha.0
Brian Warner [Wed, 29 Nov 2017 23:50:08 +0000 (17:50 -0600)]
(cargo-release) start next development iteration 0.0.4-alpha.0