ssi
ssi copied to clipboard
Core library for decentralized identity.
# Rust docs https://doc.rust-lang.org/rustdoc/how-to-write-documentation.html The crate front-pages and all public API should be documented. Examples should be added. If things are found in the public API that should not be...
VC Data Model JWT Encoding (https://www.w3.org/TR/vc-data-model/#jwt-encoding): certain credential/presentation fields are convertable into JWT claims ("the following JWT-registered claim names MUST be used instead of, or in addition to, their respective...
The [JWTClaims](https://rust.didkit.dev/ssi/vc/struct.JWTClaims.html) struct (representing a [JWT claims](https://www.rfc-editor.org/rfc/rfc7519.html#section-4) JSON object) includes some fields for timestamps: - [not_before](https://rust.didkit.dev/ssi/vc/struct.JWTClaims.html#structfield.not_before) - ["nbf" (Not Before) Claim](https://www.rfc-editor.org/rfc/rfc7519.html#section-4.1.5) - [expiration_time](https://rust.didkit.dev/ssi/vc/struct.JWTClaims.html#structfield.expiration_time) - ["exp" (Expiration Time) Claim](https://www.rfc-editor.org/rfc/rfc7519.html#section-4.1.4) (There's also...
I'm attempting but failing to verify some VCs that use Ed25519Signature2018, and found some confusing notes in [the linked data proofs doc](https://w3c-ccg.github.io/ld-proofs/#create-verify-hash-algorithm), step 5. It calls out Ed25519Proof2018 algorithm specifically:...
- With this, session key derived from SIWE allows for issuance of VCs and ZCAPs. - CACAO should exist in the `proof` section. - Need to demonstrate issuance at a...
As proposed in https://github.com/w3c-ccg/zcap-spec/issues/39. Instead of invokers that are verification method URLs, there would be controllers that are DIDs. If we still want to allow invokers, it could be a...
Problem: - When using a delegated key with a validity period, it may be necessary to selectively provide evidence that the key was used for a signing operation within a...
Verifiable Credential (`ssi::vc::Credential`) has `expiration_date` and `not_before` fields which map onto the `exp` and `nbf` claims of a JWT, but Verifiable Presentation (`ssi::vc::Presentation`) is missing those, so it's not possible...
https://github.com/spruceid/ssi/pull/379#pullrequestreview-894966276 > If DIDMethodError::OptionNotSupported means that not all methods support all operations, maybe that means the trait should be split, to get compile time guarantees. #379 adds DID operation functions...
Currently, `ssi` cannot issue JWT VCs for issuers that are based on public key hashes (e.g. `did:tz` and `did:pkh`, where the verification method contains a hash of the public key...