Compute a row with an explicit verifier keypair (no global store).
(repo: &Repository, id: &str, kp: Option<&KeyPair>)
| 440 | |
| 441 | /// Compute a row with an explicit verifier keypair (no global store). |
| 442 | fn row_for(repo: &Repository, id: &str, kp: Option<&KeyPair>) -> Row { |
| 443 | let verifier = kp.map(|kp| Verifier { |
| 444 | did: did_for_public_key(&kp.public), |
| 445 | public_key: kp.public.clone(), |
| 446 | }); |
| 447 | compute_row(repo, id, verifier.as_ref()) |
| 448 | } |
| 449 | |
| 450 | #[test] |
| 451 | fn unattested_memory_lists_columns_from_lift() { |