Skip to content

Add keyed bao methods - #78

Open
rklaehn wants to merge 12 commits into
mainfrom
keyed-bao
Open

Add keyed bao methods#78
rklaehn wants to merge 12 commits into
mainfrom
keyed-bao

Conversation

@rklaehn

@rklaehn rklaehn commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

This adds keyed bao methods. Builds on #77 and
makes a bunch of small modifications. Logic is the same though.

cryptoquick and others added 11 commits June 27, 2026 01:48
Standard and keyed modes share one IO implementation through compile time strategy types instead of Option branches.

Public keyed APIs are unchanged. Adds comments and hash_strategy naming for clarity. Fixes dead_code warnings in validate only builds.
Trim comments to bao-tree style, hide strategy types from rustdoc, and add Keyed decode type aliases. Public keyed APIs unchanged.
This way we don't have a public API that we have to hide. Also less generics noise.

I don't have an use case for somebody actually supplying another strategy. In fact
I think it is easy to get this wrong so I would prefer people to fork in that
case.
keyed is a rather niche use case and I don't want to burden CreateOutboard
implementers with this. We can add them later once/if we have lots of keyed
outboard users.
@rklaehn rklaehn mentioned this pull request Aug 10, 2026
@n0bot n0bot Bot added this to iroh Aug 10, 2026
@github-project-automation github-project-automation Bot moved this to 🚑 Needs Triage in iroh Aug 10, 2026
@cryptoquick

Copy link
Copy Markdown

Got this work wired in and seems to be working as expected.
bitmask-stack/carbonado#32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🚑 Needs Triage

Development

Successfully merging this pull request may close these issues.

2 participants