-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use feature-complete SE050 backend #378
Conversation
f0f261d
to
c8f8dc9
Compare
c8f8dc9
to
f363fc2
Compare
feb94ba
to
1a19d29
Compare
It doesn't yet supports RSA 4096 bit key generation when the SE050 backend is enabled. We will need to make it a runtime flag for that to work. |
b7f968f
to
a0c7d47
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, not tested on hardware yet. I think it makes more sense to do a big test round once everything is merged.
request, | ||
resources, | ||
) | ||
} | ||
Extension::Se050Manage => ExtensionImpl::< |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not now, but for the future: We should rename this to *Info
or *Test
so that we don’t use the same name for two different things.
"fido" => self.fido.field(key), | ||
"opcard" => self.opcard.field(key), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for the future: we should try to always use App::CLIENT_ID
in the Config
implementations
components/apps/src/lib.rs
Outdated
#[derive(Debug, Default, PartialEq, Deserialize, Serialize)] | ||
pub struct OpcardConfig { | ||
#[cfg(feature = "se050")] | ||
#[serde(default, rename = "t", skip_serializing_if = "is_default")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: maybe use s
instead of t
for the rename to keep at least some connection between the key and the field? or maybe we should just assign numbers …
components/apps/Cargo.toml
Outdated
se050-test-app = ["se050", "admin-app/se050"] | ||
se050 = ["trussed-se050-backend", "dep:se05x"] | ||
se050 = ["dep:se05x", "trussed-se050-backend"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My understanding was that we can keep the test app, can’t we?
a0c7d47
to
7b50110
Compare
Depends on
Clear
api opcard-rs#187