-
Notifications
You must be signed in to change notification settings - Fork 55
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
Support combination of revocable / non-revocable credentials and timestamp override #102
Support combination of revocable / non-revocable credentials and timestamp override #102
Conversation
71e1b71
to
7274ca0
Compare
76b1625
to
599da2c
Compare
e6b9195
to
5bea53c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. Like the extensive comments!
src/ffi/presentation.rs
Outdated
pub struct FfiNonrevokedIntervalOverride<'a> { | ||
rev_reg_def_id: FfiStr<'a>, | ||
/// Timestamp in the `PresentationRequest` | ||
requested_from_ts: i64, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be good later on to use i32s here. I think we map them to a u64 later and it would help in the JS side where every number is an f32.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah good idea! fixed
src/services/helpers.rs
Outdated
) -> Result<(Vec<AttributeInfo>, Option<NonRevokedInterval>)> { | ||
trace!("_get_revealed_attributes_for_credential >>> sub_proof_index: {:?}, requested_credentials: {:?}, pres_req: {:?}", | ||
sub_proof_index, requested_proof, pres_req); | ||
let mut nonrevoked_interval: Option<NonRevokedInterval> = None; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let mut nonrevoked_interval: Option<NonRevokedInterval> = None; | |
let mut non_revoked_interval: Option<NonRevokedInterval> = None; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
0b3d7a9
to
9dd8674
Compare
Signed-off-by: bwty <[email protected]>
Signed-off-by: bwty <[email protected]>
Signed-off-by: bwty <[email protected]>
Signed-off-by: bwty <[email protected]>
Signed-off-by: bwty <[email protected]>
9dd8674
to
0a57d4d
Compare
@whalelephant is this ready to merge? Any blockers here? |
Do we need any updates to the FFI wrappers? If so could you point me in the right direction on what needs to be fixed? |
The wrapper has been implemented and this is ready to be merged. Note, it is breaking change for |
No description provided.