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

5 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(..)..)`).

5 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

5 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

5 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

5 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

5 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

5 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

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

5 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

5 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

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 agosrp v0.2.4
Артём Павлов [Artyom Pavlov] [Wed, 1 Nov 2017 08:16:42 +0000 (11:16 +0300)]
srp v0.2.4

6 years agoFix a typo (#2)
quininer [Wed, 1 Nov 2017 08:13:41 +0000 (16:13 +0800)]
Fix a typo (#2)

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 agoClippy updates
Артём Павлов [Artyom Pavlov] [Thu, 17 Aug 2017 22:29:21 +0000 (01:29 +0300)]
Clippy updates

6 years agoUpdated srp docs
newpavlov [Thu, 17 Aug 2017 14:42:16 +0000 (17:42 +0300)]
Updated srp docs

6 years agoFixed CI badge for SRP
Артём Павлов [Artyom Pavlov] [Mon, 14 Aug 2017 04:48:04 +0000 (07:48 +0300)]
Fixed CI badge for SRP

6 years agoReadme udpate
Артём Павлов [Artyom Pavlov] [Mon, 14 Aug 2017 04:44:56 +0000 (07:44 +0300)]
Readme udpate

6 years agoPAKE repository reorganization
Артём Павлов [Artyom Pavlov] [Mon, 14 Aug 2017 04:37:17 +0000 (07:37 +0300)]
PAKE repository reorganization

6 years agodoc fixes
Артём Павлов [Artyom Pavlov] [Mon, 14 Aug 2017 02:38:36 +0000 (05:38 +0300)]
doc fixes

6 years agov0.2.0
Артём Павлов [Artyom Pavlov] [Mon, 14 Aug 2017 02:25:36 +0000 (05:25 +0300)]
v0.2.0

6 years agoDocs update
Артём Павлов [Artyom Pavlov] [Sun, 13 Aug 2017 01:31:01 +0000 (04:31 +0300)]
Docs update

6 years agoPinning dependency versions
Артём Павлов [Artyom Pavlov] [Sun, 13 Aug 2017 01:18:35 +0000 (04:18 +0300)]
Pinning dependency versions

6 years agoCargo.toml updates
Артём Павлов [Artyom Pavlov] [Sun, 13 Aug 2017 01:15:52 +0000 (04:15 +0300)]
Cargo.toml updates

6 years agotypo fix
Артём Павлов [Artyom Pavlov] [Sun, 13 Aug 2017 01:12:23 +0000 (04:12 +0300)]
typo fix

6 years agoFirst commit
Артём Павлов [Artyom Pavlov] [Sun, 13 Aug 2017 01:08:23 +0000 (04:08 +0300)]
First commit

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

6 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

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

6 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

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

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

6 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

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

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

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

6 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

6 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

6 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

6 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