Charles E. Lehner
Charles E. Lehner
Implement `PgpSignature2021`/`PgpVerificationKey2021` from . Use with `did:webkey:gpg:`
Re: #178 Deserialize, and decrypt if needed, SSH private keys and convert to JWK for use with JWS and linked data proofs. Info about SSH private key formats: https://security.stackexchange.com/questions/218335/difference-in-ecdsa-private-key-format https://cvsweb.openbsd.org/src/usr.bin/ssh/PROTOCOL.key?annotate=HEAD...
Specify `did:webkey` method as described in #176 and partially implemented in https://github.com/spruceid/ssi/pull/178.
In DID resolution and DID URL dereferencing we are sometimes returning [descriptive error strings](https://github.com/spruceid/ssi/blob/b4c5e72/src/did_resolve.rs#L429-L432) in the `ResolutionMetadata` and `DereferencingMetadata` structs. But according to [DID Core](https://www.w3.org/TR/did-core/#did-resolution-metadata), the value of the `error`...
For use with external signing (e.g. ssh-agent in didkit-cli https://github.com/spruceid/didkit/pull/158, or web wallets with didkit-wasm), the `ProofPreparation` struct should be extended to support JWT, or something similar should be added...
There is a bug in the [`serde_jcs` crate](https://crates.io/crates/serde_jcs) in the encoding of property names for sorting: https://github.com/l1h3r/serde_jcs/issues/1 `ssi` uses `serde_jcs`: 1. in `src/ldp.rs`: `JcsTezosSignature2021` (#237), for encoding linked data documents...
When issuing or verifying a verifiable credential (and maybe verifiable presentation - https://github.com/w3c/vc-data-model/pull/787), if a [`termsOfUse`](https://www.w3.org/TR/vc-data-model/#terms-of-use) property is encountered, we should probably abort processing, until we have a way for...
# 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...