-
Notifications
You must be signed in to change notification settings - Fork 91
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
IOTA Identity Beta-2 v0.4 #473
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Update main readme * WASM readme update * Updated example with account * Rust examples readme
This reverts commit 73d9d66.
Fix/wasm version
…t.rs (#265) * Add some tests * Add IotaDocument::try_from_core() unit tests * Fix clippy error
Also read indexation payload from transaction payloads
* Remove IotaDID->DID Deref anti-pattern. * Address l1h3r review comments.
* Rework WASM examples to explicitly use client configs. * Add explorer_util.js adn fix typo. * Fix explorer URL construction. Inlined the prefix since it is no longer exported.
Bumps [dns-packet](https://github.com/mafintosh/dns-packet) from 1.3.1 to 1.3.4. - [Release notes](https://github.com/mafintosh/dns-packet/releases) - [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md) - [Commits](mafintosh/dns-packet@v1.3.1...v1.3.4) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.16.3 to 4.16.6. - [Release notes](https://github.com/browserslist/browserslist/releases) - [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md) - [Commits](browserslist/browserslist@4.16.3...4.16.6) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add IotaDocument::from_keypair_with_network() and WASM binding. * Undo unintentional formatting in README. * Add optional network arg to from_keypair WASM binding. * Update API reference for fromKeyPair. * Update README. * Update bindings/wasm/src/wasm_document.rs
* Use u32 for message delays * Update docs * Update version
Bumps [ws](https://github.com/websockets/ws) from 6.2.1 to 6.2.2. - [Release notes](https://github.com/websockets/ws/releases) - [Commits](https://github.com/websockets/ws/commits) --- updated-dependencies: - dependency-name: ws dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
docs: Fix some typos in the method spec
* Update iota-client * Fix features * New client builder * New wasm client * Update examples
docs: Describe build process for wasm bindings
* Fragment/UnixTimestamp -> core::common * clippy * Timestamp::now -> Timestamp::now_utc
* Remove shard from DIDs * wasm fixes * update yarn.lock * doctest
* Restore client.checkCredential/checkPresentation * doc: Serialize `message_id` for `IotaDocument`s * wasm: Fix incorrect path in example imports * client: Rename `read_document` to `resolve` * Revert "doc: Serialize `message_id` for `IotaDocument`s" This reverts commit 26e2dcd. * wasm: Serialize `message_id` for resolve method Co-authored-by: PhilippGackstatter <[email protected]>
* Add blake2b to wasm bindings * docs
Reimpl `Key` with generics
* Rename auth to int chain everywhere * Create verification method with attached auth * Fix generations in tests * Update remaining generations in tests * Remove outdated TODO * Impl generic verif method in low level API * Use 'integration' instead of 'int' * Add test that verifies number of verif. methods * Assert the authentication relationship
* Fix WasmDocument constructor Typescript bindings Replace IotaDocument `from_keypair()`, `from_keypair_with_network()` with `new()`. Update Wasm binding examples to be more consistent with Rust. * Fix test and benchmark compilation * Fix benchmark compilation * Apply suggestions from code review * Add Document::new_with_options constructor Allow default verification method fragment to be specified. Add doc, unit tests. * Use NetworkName instead of &str Remove IotaDID::from_components. Remove specific InvalidNetworkName strings for consistency with other errors and to use with TryInto. Allow Network::try_from_name to take an actual NetworkName as well as a string. Co-authored-by: Philipp <[email protected]>
Account feature has to be added to the identity dependencies to use identity::account::*.
…ate_identity (#414) * Update Account::create_identity() to return IdentityState. * Update Account::find_identity() to return IdentityState.
* Rename JSON serialization field name to match spec. * Rename notSupported -> representationNotSupported
* reduce wasm build size * Enable lto for Wasm release Add `build-dev` task for Wasm for debugging. Co-authored-by: Craig Bester <[email protected]>
* Merged Stronghold with basic examples in account * Updated explorer to identity resolver * Added explorer URL after basic example * Renamed examples * Completed manipulate did example * Fixed suggestions, removed replaced examples. * Improved example readme * Consistently use Stronghold and Resolver URL * Fix examples * Merged config example with private tangle * low-level-api private-network example runs * cargo fmt * cargo fmt with nightly * Impl suggestions
* Reorganized files * Renamed .md files to .mdx (see https://docusaurus.io/docs/next/markdown-features/react) Added examples Deleted unused files Updated sidebar Added 20px margin bottom for replit embedded object Removed redundant units and props in styles.css * added NLOF * Apply suggestions from code review Co-authored-by: charlesthompson3 <[email protected]> * Added Wasm Cheat and Rust Cheat sheet skeleton * Apply suggestions from code review Co-authored-by: charlesthompson3 <[email protected]> * fix typo * Fixed links ADded first draft of rust cheat sheet Changed extension in verifiable_presentations.md to mdx * Added example output for all functions in the WASM cheat_sheet.md * Added example JSON output for all functions in the Rust cheat_sheet.md * Added tutorial * Formatted tutorial * Addressing comments: * Added instructions and descriptions on installing both main and dev branches. * Removed low level API items from rust cheat sheet and added Account modules examples where possible. * Added stronghold, private tangle and vp account module examples * * added branch specific installation instructions * fixed html in cheat_sheet.md Co-authored-by: charlesthompson3 <[email protected]>
* updated cache action versions * added actions to watched paths * updated cache version for examples workflow
* * Replaced imported account module stronghold example with basic example. * Removed reference to deleted account module examples * Added test action to catch future include issues * testing action * removed action as I wasn't being successful at all * Added combined examples as suggested by @cycraig
Out of an abundance of caution. Not an actual vulnerability since `set_current` is unused and we don't use any SystemTime conversions affected by a known vulnerability.
* Update methods to default to PublicKeyMultibase * Update documentation to use PublicKeyMultibase
* Add separate DID, DIDUrl constructs Add DID trait. Add CoreDID, IotaDID structs. Add DIDUrl generic struct. Update various structs and functions to use a DID instead of a DIDUrl where appropriate. * Implement RelativeDIDUrl Add extra CoreDID validation. Add RelativeDIDUrl doctests. Update tests, examples. * Add DID Url unit tests. Handle relative DID Url edge-cases. Remove uriparse dependency. * Fix formatting * Fix clippy lint warnings * Fix dereference_document Add dereference unit tests. * Fix formatting, clippy lint warnings Add missing licence headers. * Fix tests, benchmarks * Remove unsafe cast in IotaVerificationMethod * Add WasmDIDUrl Update Wasm examples. * Fix wasm formatting * Improve RelativeDIDUrl comparisons * Improve DIDUrl parsing Re-export BaseDIDUrl to satisfy TryFrom<BaseDIDUrl> without adding the `did_url` crate dependency to other projects. * Remove resolution metadata check Fix formatting. * Change remove_service, remove_method parameters Add doc comments.
Improve identity-comm docs
* Use explorer_url from custom network * Use devnet explorer url Co-authored-by: Craig Bester <[email protected]> * Fix explorer url formatting Co-authored-by: Craig Bester <[email protected]>
* Fix low-level private tangle example * Keep discussion on network name requirements
* Fix links in create.mdx * Fix links in validate_university_degree.mdx
* Removed meeting minutes * Removed copy * Fixing some links * Removed Blog
* [WIP] Add DIDComm protocol specifications * [WIP] Describe presentation messages * [WIP] enhanced presentation protocol * [WIP] enhanced presentation protocol * [WIP] enhanced presentation protocol * [WIP] enhanced presentation protocol * [WIP] Add alternative presentation diagrams * [WIP] further work on presentation * [WIP] added signing protocol * [WIP] further signing protocol * [WIP] further signing protocol * [WIP] fixed presentation * [WIP] added issuance * [WIP] further issuance * [WIP] added credential-types, renamed problem-reports * [WIP] minor cleanup * [WIP] furthr work on issuance * [WIP] further work on issuance * [WIP] further work on issuance * [WIP] further work on issuance * [WIP] further work on issuance * [WIP] further work on issuance * [WIP] added revocation * [WIP] added revocation diagram * [WIP] added revocation-options, further revocation * [WIP] further revocation-options, further revocation * [WIP]further revocation * [WIP]further revocation and revocation-options * [WIP]further revocation and revocation-options * [WIP] added termination * [WIP] reference external flows * [WIP] add presentation-exchange to presentation * [WIP] further revocation * [WIP] further revocation * [WIP] further revocation * added connection * [WIP] further connection * [WIP] further connection * [WIP] further connection * [WIP] further connection, added authetication * [WIP] further authetication * [WIP] fixed typos * [WIP] further auth] * [WIP] further auth * [WIP] further auth * [WIP] further auth * fixed typo * [WIP] problem reports * problem reports * further problem reports * further problem reports * problem reports, added 'post' protocol * added post * type negotiation, reworked revocation * type negotiation * cleanup * added introduction * editing * editing * editing * Update issuance.md fixed grammar. * added potential future CrendentialInfo methods * Fix Credential Kinds links Minor formatting. * First 3 files review, typos and extra info * Update DIDComm spec introduction slightly * Change DIDComm spec sidebar ordering * Edit trust paragraph in authentication Remove redundant authentication example. * Update connection->feature discovery relationship * Minor changes to presentation * Spelling fixes * Reorder resources section to after protocols in overview * Reorder revocation to before revocation options * Improve credential links in presentation * Fix footnote numbering in signing * Update signing authorisation consideration * added description to sections * fix sidebar links * added diagram section * Deduplicate authentication protocol links * Deduplicate connection protocol links * Deduplicate issuance protocol links * Deduplicate presentation protocol links * Deduplicate signing protocol links * changed intro text * further presentation * cleaned up presentation * further overview * further authentication * renamed Credential Kinds, added description for trust considerations * further authentication * reworked presentation * updated changelog * removed TODO * fixed links * added disclaimer and changed headline structure * updated 'last updated' Co-authored-by: Eike Haß <[email protected]> Co-authored-by: Oliver Anderson <[email protected]> Co-authored-by: JelleMillenaar <[email protected]>
* add an upper limit to the amount o keys that can be generated * comment count new behavior * fix pre-existing test to adjust to next power of two policy * set upper limit to 2^32 * define an upper limit of 2^12 for key collection * add check before allocating vec * throw error when trying to create a KeyCollection with 0 keys, improve comments * fix comment * run cargo fmt * add const MAX_PROOF_NODES for limiting the amount of nodes in a Proof * fix fmt
* Removed messages from the wasm bindings * Revert "Removed messages from the wasm bindings" This reverts commit e66cf82. * cleaned up identity-comm/src/messages and identity-comm/src/tests (#467) * deleted bindings/wasm/src/message (#468) * build api-reference Co-authored-by: Oliver Anderson <[email protected]> Co-authored-by: Eike Haß <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of change
Release PR for IOTA Identity Beta-2.