Skip to content
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

Add Oscore SecurityInfo support to Server and BS Server demo #1211

Merged
merged 2 commits into from
Apr 28, 2022

Conversation

sbernard31
Copy link
Contributor

@sbernard31 sbernard31 commented Feb 23, 2022

This adds support to OSCORE for Server and Bootstrap Server demo. (#1203).
With this PR a client should be able to connect to both server using OSCORE.
But this PR does not contain support to write OSCORE object during bootstrap session. (This will be done in another PR)

This is work in progress, for now we are only able to provide Sender ID, Recipient ID, Master Secret.

⚠️ Without the Oscore Store (#920), this does not really behave correctly :

  • it is only possible to connect to server demo (not bootstrap server). (because SecurityInfo only add context to OscoreServerHandler.getContextDB() not to OscoreBootstrapHandler.
  • context is not persisted on restart so you need to delete/recreate your security info to make it work again.

So no need to invest more time for now, let's focus on OscoreStore.

@sbernard31
Copy link
Contributor Author

This looks like :

Capture d’écran de 2022-02-23 15-14-51

Capture d’écran de 2022-02-23 15-15-38

Capture d’écran de 2022-02-23 15-40-54

@sbernard31 sbernard31 force-pushed the oscore_server_demo branch from 2c91164 to a91bd2f Compare April 6, 2022 09:27
@sbernard31 sbernard31 changed the base branch from oscore_setting to oscore_client_demo April 6, 2022 09:41
@sbernard31
Copy link
Contributor Author

@rikard-sics I adapted this with last modification, I think this usable/testable now.

(This contains all most recent changes about OSCORE for now)

@sbernard31 sbernard31 changed the base branch from oscore_client_demo to oscore April 28, 2022 13:33
@sbernard31 sbernard31 marked this pull request as ready for review April 28, 2022 13:33
@sbernard31 sbernard31 merged commit cdfb550 into oscore Apr 28, 2022
@sbernard31
Copy link
Contributor Author

sbernard31 commented Apr 28, 2022

@rikard-sics I also integrated this in oscore branch

@sbernard31 sbernard31 deleted the oscore_server_demo branch April 28, 2022 15:58
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