Skip to content

Use hiffy/idol calls directly - #393

Merged
labbott merged 3 commits into
mainfrom
built_in_humility
Aug 18, 2026
Merged

Use hiffy/idol calls directly#393
labbott merged 3 commits into
mainfrom
built_in_humility

Conversation

@labbott

@labbott labbott commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

I played around with making this a library in humility and ran into a version dependency nightmare when I tried to use attest_data in the library. I then had the humility library just do the raw bytes but at that point I wondered why I was wrapping anything in humility in the first place.

This is the first time I'm really trying to use hiffy/idol outside the core humility binary so it's very much an experiment in what actually works

@labbott
labbott marked this pull request as draft July 15, 2026 18:41
@labbott

labbott commented Jul 15, 2026

Copy link
Copy Markdown
Contributor Author

maybe this PR will make be finally fix whatever the heck the HID API is doing on ubuntu

@labbott
labbott force-pushed the built_in_humility branch from abae7f8 to 42e1df5 Compare July 23, 2026 13:10
@labbott
labbott force-pushed the built_in_humility branch 3 times, most recently from 9789476 to 45c1f5d Compare August 11, 2026 18:26
Calling out to the humility binary to use the `hiffy` interface
has some rough edges, notably it's very difficult to parse out
errors. Use humility directly via Rust interfaces instead.

Humility currently requires libusb which may not be available
on Illumos systems. This can be compiled out via the `hiffy`
feature.
@labbott
labbott force-pushed the built_in_humility branch from 3b63913 to 329b511 Compare August 11, 2026 19:16
@labbott labbott changed the title WIP: Use hiffy/idol calls directly Use hiffy/idol calls directly Aug 11, 2026
@labbott
labbott marked this pull request as ready for review August 11, 2026 19:16
@labbott
labbott requested a review from flihp August 11, 2026 19:22
@flihp

flihp commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

Thanks for fixing up the mutability thing @labbott. There's still some weirdness w/r/t the cargo features in attest-time where you've added a new hiffy feature. But since that's just rough tool I hacked up to benchmark the IPCC path & isn't used anywhere in the product IMO it can be cleaned up later / shouldn't hold up merging your work.

@flihp flihp left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@labbott
labbott merged commit 08c6b2d into main Aug 18, 2026
13 checks passed
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.

2 participants