mirror of
https://github.com/block/buzz.git
synced 2026-12-01 13:42:45 +00:00
fix: tolerate missing private_key_nsec in agent store (#1220)
Signed-off-by: Will Pfleger <pfleger.will@gmail.com> Co-authored-by: npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7 <dcfd242e557282d7a1e2cf2e6877522682f1e5c6156dc92ca7d90eaedd3b0f95@sprout-oss.stage.blox.sqprod.co>
This commit is contained in:
@@ -88,6 +88,9 @@ pub struct ManagedAgentRecord {
|
||||
pub name: String,
|
||||
#[serde(default)]
|
||||
pub persona_id: Option<String>,
|
||||
/// `#[serde(default)]` so an old build still parses a store whose inline
|
||||
/// key was stripped after a keyring build migrated it into the Keychain.
|
||||
#[serde(default)]
|
||||
pub private_key_nsec: String,
|
||||
/// NIP-OA auth tag JSON. Computed at agent creation time.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user