We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
UcanResource::OwnedBy
This test case fails:
#[test] fn test_broken_ucan() -> Result<()> { let issuer = &EdDidKey::generate(); let ucan: Ucan = UcanBuilder::default() .for_audience(issuer) .claiming_capability(Capability::new( UcanResource::OwnedBy(issuer.did()), TopAbility, EmptyCaveat, )) .sign(issuer)?; // This should work assert_matches!( Ucan::<DefaultFact, DefaultCapabilityParser>::from_str(&ucan.encode()?), Ok(_) ); Ok(()) }
The error message I get:
panicked at 'assertion failed: `Err(TokenParseError { msg: "malformed payload" })` does not match `Ok(_)`'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This test case fails:
The error message I get:
The text was updated successfully, but these errors were encountered: