diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..24fdd8c --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,28 @@ +name: Publish + +on: + release: + types: [published] + +jobs: + publish: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest] + + steps: + - uses: hecrj/setup-rust-action@v1 + with: + rust-version: ${{ matrix.rust }} + - uses: actions/checkout@master + - name: Login to crates.io + run: cargo login $CRATES_IO_TOKEN + env: + CRATES_IO_TOKEN: ${{ secrets.crates_io_token }} + - name: Dry run publish voprf + run: cargo publish --dry-run --manifest-path Cargo.toml + - name: Publish voprf + run: cargo publish --manifest-path Cargo.toml + env: + CARGO_REGISTRY_TOKEN: ${{ secrets.crates_io_token }} diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..ab84145 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,5 @@ +# Changelog + +## 0.1.0 (September 29, 2021) + +* Initial release diff --git a/Cargo.toml b/Cargo.toml index 1564b62..78dc99a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "voprf" -version = "0.0.0" +version = "0.1.0" description = "An implementation of a verifiable oblivious pseudorandom function (VOPRF)" authors = ["Kevin Lewi "] categories = ["no-std"] diff --git a/src/group/p256.rs b/src/group/p256.rs index 3740d36..a0f01bf 100644 --- a/src/group/p256.rs +++ b/src/group/p256.rs @@ -172,7 +172,7 @@ impl Group for ProjectivePoint { /// /// `cmov`, `mod_floor` and `modpow` needs to be made constant-time, which /// will be supported after crypto-bigint is no longer experimental. See -/// https://github.com/novifinancial/opaque-ke/issues/239 for more context. +/// https://github.com/novifinancial/voprf/issues/13 for more context. #[allow(clippy::many_single_char_names)] fn hash_to_curve_simple_swu>( diff --git a/src/lib.rs b/src/lib.rs index 1d01cbb..4789968 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -459,7 +459,7 @@ //! //! # Features //! -//! - The `p256` feature enables using p256 as the underlying group for the [Ciphersuite] choice. +//! - The `p256` feature enables using p256 as the underlying group for the [CipherSuite] choice. //! Note that this is currently an experimental feature ⚠️, and is not yet ready for production use. //! //! - The `serialize` feature, enabled by default, provides convenience functions for serializing and deserializing with