]> git.lizzy.rs Git - PAKEs.git/log
PAKEs.git
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

6 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 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

6 years ago(cargo-release) version 0.0.3
Brian Warner [Wed, 29 Nov 2017 23:49:58 +0000 (17:49 -0600)]
(cargo-release) version 0.0.3

6 years agoupdate to hkdf-0.3 and sha2-0.7 (new Digest API)
Brian Warner [Wed, 29 Nov 2017 23:05:36 +0000 (17:05 -0600)]
update to hkdf-0.3 and sha2-0.7 (new Digest API)

6 years agoupdate to curve25519-dalek 0.13
Brian Warner [Sat, 25 Nov 2017 18:11:38 +0000 (12:11 -0600)]
update to curve25519-dalek 0.13

6 years agotravis: fix test invocation
Brian Warner [Sat, 25 Nov 2017 18:10:34 +0000 (12:10 -0600)]
travis: fix test invocation

6 years agotravis: add OS-X
Brian Warner [Sat, 25 Nov 2017 18:07:09 +0000 (12:07 -0600)]
travis: add OS-X

6 years agoREADME: add badge for codecov.io
Brian Warner [Wed, 15 Nov 2017 19:17:54 +0000 (11:17 -0800)]
README: add badge for codecov.io

6 years agoupdate to hex-0.3
Brian Warner [Wed, 15 Nov 2017 09:11:31 +0000 (01:11 -0800)]
update to hex-0.3

6 years agoupdate to the curve25519-dalek 0.12 API
Brian Warner [Thu, 12 Oct 2017 19:07:01 +0000 (12:07 -0700)]
update to the curve25519-dalek 0.12 API

6 years agoadd test coverage (cargo-tarpaulin) and codecov.io reporting
Brian Warner [Sun, 8 Oct 2017 20:54:57 +0000 (16:54 -0400)]
add test coverage (cargo-tarpaulin) and codecov.io reporting

6 years agorelease 0.0.2, still preliminary
Brian Warner [Thu, 21 Sep 2017 21:01:41 +0000 (14:01 -0700)]
release 0.0.2, still preliminary

6 years agoadd benchmarks: run 'cargo bench'
Brian Warner [Thu, 21 Sep 2017 20:45:13 +0000 (13:45 -0700)]
add benchmarks: run 'cargo bench'

6 years agocomment out debug messages
Brian Warner [Thu, 21 Sep 2017 20:44:28 +0000 (13:44 -0700)]
comment out debug messages

6 years agomove from (unmaintained) rust-crypto to RustCrypto ('sha2' crate)
Brian Warner [Wed, 2 Aug 2017 19:55:35 +0000 (12:55 -0700)]
move from (unmaintained) rust-crypto to RustCrypto ('sha2' crate)

Also upgrade to curve25519-dalek 0.11, hkdf-0.2, refine error types, add more
tests.

6 years agohush remaining lints, thanks clippy for the suggestions
Brian Warner [Mon, 4 Sep 2017 19:57:26 +0000 (12:57 -0700)]
hush remaining lints, thanks clippy for the suggestions

6 years agofix several clippy lints
Brian Warner [Mon, 4 Sep 2017 19:32:43 +0000 (12:32 -0700)]
fix several clippy lints

6 years agoMerge PR1: update docs
Brian Warner [Tue, 1 Aug 2017 19:30:10 +0000 (12:30 -0700)]
Merge PR1: update docs

6 years agoAdd badges for crates.io and docs.rs to the README.
Isis Lovecruft [Tue, 1 Aug 2017 03:30:11 +0000 (03:30 +0000)]
Add badges for crates.io and docs.rs to the README.

6 years agoLink to https://docs.rs/spake2 for doc builds.
Isis Lovecruft [Tue, 1 Aug 2017 03:29:37 +0000 (03:29 +0000)]
Link to https://docs.rs/spake2 for doc builds.

6 years agoCargo.toml: fix the travis badge URL
Brian Warner [Tue, 1 Aug 2017 01:10:50 +0000 (18:10 -0700)]
Cargo.toml: fix the travis badge URL

6 years agoprep for preliminary 0.0.1 release
Brian Warner [Tue, 1 Aug 2017 00:51:00 +0000 (17:51 -0700)]
prep for preliminary 0.0.1 release

* add Cargo.toml metadata
* add travis badge
* exclude .gitignore

7 years agofix all tests, refactor some code for easier testing
Brian Warner [Tue, 30 May 2017 22:40:20 +0000 (23:40 +0100)]
fix all tests, refactor some code for easier testing

7 years agofix incorrect tests
Brian Warner [Thu, 25 May 2017 21:41:39 +0000 (14:41 -0700)]
fix incorrect tests

the messages now match what I expect, but the final key does not. Next step
is to compare transcripts.

7 years agofix test_sizes: needed to strip side-byte before transcript hash
Brian Warner [Thu, 25 May 2017 21:39:45 +0000 (14:39 -0700)]
fix test_sizes: needed to strip side-byte before transcript hash

7 years agoslow progress, got password-to-scalar working
Brian Warner [Thu, 25 May 2017 21:32:19 +0000 (14:32 -0700)]
slow progress, got password-to-scalar working

* ported spake2.py password-to-scalar function, since dalek's built-in one
  does it differently
* added "side" byte in messages: emit in start(), strip+check in input()
* rewrote transcript-hashing (since transcript is fixed-size)

This adds a lot of debug prints, and moves a bunch of test-only code into the
top level, all of which will need to be undone eventually.

7 years agochange the nature of the failure. still wrong, but better wrong!
Brian Warner [Thu, 25 May 2017 01:21:06 +0000 (18:21 -0700)]
change the nature of the failure. still wrong, but better wrong!

7 years agoimprovements for tests, which of course fail
Brian Warner [Thu, 25 May 2017 01:05:27 +0000 (18:05 -0700)]
improvements for tests, which of course fail

7 years agoREADME: add travis badge
Brian Warner [Wed, 24 May 2017 08:45:41 +0000 (01:45 -0700)]
README: add travis badge

7 years agoadd travis-CI
Brian Warner [Wed, 24 May 2017 08:40:33 +0000 (01:40 -0700)]
add travis-CI

7 years agoadd support for symmetric mode
Brian Warner [Wed, 24 May 2017 08:39:25 +0000 (01:39 -0700)]
add support for symmetric mode

7 years agoREADME: warn people away from thinking this is ready for use
Brian Warner [Wed, 24 May 2017 07:48:43 +0000 (00:48 -0700)]
README: warn people away from thinking this is ready for use

7 years agoadd github-provided boilerplate: LICENSE, README, .gitignore
Brian Warner [Wed, 24 May 2017 07:44:56 +0000 (00:44 -0700)]
add github-provided boilerplate: LICENSE, README, .gitignore

7 years agofix blinding factors, implement full algorithm
Brian Warner [Wed, 24 May 2017 07:39:32 +0000 (00:39 -0700)]
fix blinding factors, implement full algorithm

7 years agomore progress, make some dummy implementations pass tests
Brian Warner [Wed, 24 May 2017 05:54:32 +0000 (22:54 -0700)]
more progress, make some dummy implementations pass tests

7 years agoupdate, make it compile (but not work, of course)
Brian Warner [Wed, 24 May 2017 03:17:27 +0000 (20:17 -0700)]
update, make it compile (but not work, of course)

7 years agomore
Brian Warner [Tue, 23 May 2017 01:04:17 +0000 (18:04 -0700)]
more

7 years agomore sketches, help from manishearth
Brian Warner [Wed, 17 May 2017 20:30:42 +0000 (13:30 -0700)]
more sketches, help from manishearth

7 years agoinitial sketches, help from hdevalence
Brian Warner [Sat, 6 May 2017 08:25:23 +0000 (01:25 -0700)]
initial sketches, help from hdevalence