Skip to content

feat(manager): accept identity strings - #74

Merged
jgeluk merged 1 commit into
mainfrom
agent/identity-string-api-20260814
Aug 14, 2026
Merged

feat(manager): accept identity strings#74
jgeluk merged 1 commit into
mainfrom
agent/identity-string-api-20260814

Conversation

@jgeluk

@jgeluk jgeluk commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

What changed

  • add SecretManager::from_identity_string
  • keep parsing of age X25519 identities inside dotenvage
  • test valid round-tripping and invalid identity rejection

Why

Consumers previously had to parse strings into age::x25519::Identity before constructing a SecretManager. That leaked dotenvage's concrete age dependency into consumers and required an exact matching age version.

Validation

  • cargo test identity_string_constructor
  • commit hook: cargo +nightly fmt -- --check
  • commit hook: cargo +nightly clippy --all-targets -- -D warnings

@jgeluk
jgeluk marked this pull request as ready for review August 14, 2026 15:52
@jgeluk
jgeluk enabled auto-merge (squash) August 14, 2026 15:52
@jgeluk
jgeluk merged commit 2771349 into main Aug 14, 2026
19 checks passed
@jgeluk
jgeluk deleted the agent/identity-string-api-20260814 branch August 14, 2026 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant