Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge main into stable for signature support #30

Merged
merged 46 commits into from
Oct 27, 2023
Merged

Merge main into stable for signature support #30

merged 46 commits into from
Oct 27, 2023

Conversation

Iso5786
Copy link
Contributor

@Iso5786 Iso5786 commented Oct 27, 2023

Merge main into stable for signature support

leonbotros and others added 30 commits March 16, 2023 14:09
* wip: work on irmaseal-core documentation

* wip: header and docs

* more wip on flexible header

* feat: refactor serialization (base64 for human-readable and compact binary)

* feat: redo serialization using macros

- encode as base64 when serializing to human-readable format
- encode as binary when serializing to non-human-readable format

Unfortunaly this seems to break transcoding.

* feat: update ibe dependency to git version

* feat: make test have readable output

* feat: use sized integer types only in header structs

* work on refactor serialization

* feat: make serialize_bin_or_b64 generic over output size of compressed b64 size

* more wip on flexible header and API

* wip: refactor of core library

* feat: add public key pre-serialization and caching headers

* feat: handle "If-None-Match" and "If-Modified-Since" http headers at parameters endpoint

* feat: cleanup, move ParameterData::new to utils & include test

* wip: pkg errors

* wip

* more wip

* more wip

* feat: fix wasm package tests

* more wip

* wip

* feat: small changes to documentation

* wip signature support pkg

* feat: seperate authentication & key derivation logic for IBE/IBS

* feat: add some pkg tests for signing endpoints

* fix: rename tests to seperate KEM and signing test

* feat: do not re-use buffer since sizes can be different now

* feat: bump to new version of ibs for IDENITY_SIZE constant

* feat: update README.md

* feat: rename IRMAseal -> PostGuard

* feat: bump ibs

* fix: benches after renaming core crate

* feat: upgrade docs, fix intradoc links

* feat: move client code to seperate module

* feat: make TestSetup not use thread_rng() internally

* feat: changes to docs, rename some structs

* feat: work on signing support

- core switch to bincode for serialization
- core: serialization of signing artifacts
- pkg: supports base64 json encoding of signing pk/usk
- pkg: tests for signing (get and deserialize artifacts and a full
  round)

* feat: rename several things

- handlers in PKG (shorter)
- signing keys to `SigningKey` and `VerifyingKey`

* feat: in-memory implementation working with signatures

* feat: make the core library no_std

* refactor: clean up pg-core

- refactor features, instead use combination of cfg target_arch and
  test
- refactor mapping errors by hand
- refactor rust stream implementation

* fix: bench requires only "stream" feature now

* fix: throughput bench

* feat: small cleanup

* feat: update pg-cli

* fix: do not error when no attributes are present

* feat: small changes to core

* feat: small changes to cli

* feat: update pg-core

- implement web stream API that utilizes Web Crypto
- implement identical rust stream API that uses Rust Crypto
- streamline error handling in web API
- re-introduce features: `test`, `web` (wasm-32 only), `rust` (default), `stream`
- update lib documentation and examples/doc tests

* feat: update pg-wasm

- use updated core to expose seal/unseal with signatures

* feat: small changes to docs and constants

* feat: add regression tests for KEM and signature artifacts

* doc: small changes

* feat: update base64 dep

* fix: pkg tests

* feat: update deps pg-pkg

* feat: cleanup/update core deps

* feat: update deps pg-cli

* feat: update deps pg-wasm

* feat: run cargo update on workspace

* fix: github CI workflow

* feat: switch to released versions of ibe/ibs

* feat: format toml

* feat: do not use all features on core test

* feat: return the policy in web API

* feat: rename policies -> recipients

* feat: update docs pg-pkg

* feat: disable mutable globals in pg-wasm

* feat: include verification results and refactor tests

* fix: core bench

* Wasm support in-memory sealing/unsealing (#21)

* feat: support in-memory sealing in pg-wasm
* feat: include more memory tests in pg-wasm
* feat: switch to 256kB segment size (for performance)
* feat: improve error handling in web impl
* feat: deduplicate policy extraction in web impl
* feat: dedup code in pg-wasm

* chore: add a warning about the status of the project

* chore: update the readme of pg-wasm
Bumps [h2](https://github.com/hyperium/h2) from 0.3.16 to 0.3.18.
- [Release notes](https://github.com/hyperium/h2/releases)
- [Changelog](https://github.com/hyperium/h2/blob/master/CHANGELOG.md)
- [Commits](hyperium/h2@v0.3.16...v0.3.18)

---
updated-dependencies:
- dependency-name: h2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.46 to 0.10.52.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](sfackler/rust-openssl@openssl-v0.10.46...openssl-v0.10.52)

---
updated-dependencies:
- dependency-name: openssl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
….10.52

chore(deps): bump openssl from 0.10.46 to 0.10.52
chore(deps): bump h2 from 0.3.16 to 0.3.18
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.52 to 0.10.55.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](sfackler/rust-openssl@openssl-v0.10.52...openssl-v0.10.55)

---
updated-dependencies:
- dependency-name: openssl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
….10.55

chore(deps): bump openssl from 0.10.52 to 0.10.55
…natures

Adds robustness. In particular it should deal with outputting valid
signatures on parts the (incomplete) message.
@Iso5786 Iso5786 requested a review from a team October 27, 2023 09:45
@Iso5786 Iso5786 merged commit d359ed3 into stable Oct 27, 2023
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants