Crates.io | dax_fetcher_http |
lib.rs | dax_fetcher_http |
version | 0.1.0 |
source | src |
created_at | 2024-06-04 22:42:00.649392 |
updated_at | 2024-06-04 22:42:00.649392 |
description | HTTP proof fetcher for dax-rs |
homepage | https://keyoxide.org |
repository | https://codeberg.org/keyoxide/dax-rs |
max_upload_size | |
id | 1262165 |
size | 4,201 |
Decentralized online identity verification for Rust
To verify an online identity:
use dax::{
claim::Claim, proof::Proof, verify_claim
};
fn main() {
// Prepare
let claim = Claim::new("http://localhost/user/repo");
let proofs = vec![Proof::new(
"openpgp4fpr:1234567890123456789012345678901234567890",
)];
// Verify the claim
let result = verify_claim(&claim, &proofs);
}
This repo is compliant with version 3.0 of the REUSE Specification.