You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This has as a result that an entitlement can only ever be given to one household (a new public key would be issued each time a new person registers, which does not seem correct)
This issue might be mitigated by saving the public and private keys at the registration station and splitting up the setup and register steps. This might be done in the following way:
It appears that the
setup
step and theregister
step are joined in thepub fn register(...)
function:not-yet-another-id-code/smartphone/src/smartphone.rs
Line 120 in fd4d942
This has as a result that an entitlement can only ever be given to one household (a new public key would be issued each time a new person registers, which does not seem correct)
This issue might be mitigated by saving the public and private keys at the registration station and splitting up the
setup
andregister
steps. This might be done in the following way:Update registration station struct
not-yet-another-id-code/smartphone/src/smartphone.rs
Line 26 in fd4d942
Update registration station initialization
not-yet-another-id-code/smartphone/src/smartphone.rs
Line 110 in fd4d942
Add setup function
Update Register function
not-yet-another-id-code/smartphone/src/smartphone.rs
Line 120 in fd4d942
The following test should highlight how the new code might work
The text was updated successfully, but these errors were encountered: