mirror of
https://github.com/block/buzz.git
synced 2026-11-01 06:51:17 +00:00
get_nsec and create_ncryptsec_backup admit an owner-identity egress lease BEFORE reading/deriving the secret and return their value as a StampedArtifact carrying the issuing lease's generation. The NIP-49 constructor sits outside the sign/encrypt method sweep, so the export class is stamped constructor-agnostically. Adapters unwrap .value; the reveal/copy generation-compare defers to C6/C7. Closed-world enumeration and the ncryptsec source allowlist updated in the same commit. Co-authored-by: Will Pfleger <pfleger.will@gmail.com> Signed-off-by: Will Pfleger <pfleger.will@gmail.com>