[riot-notifications] [RIOT-OS/RIOT] sys: add credman (D)TLS credential management module (#11564)

Aiman Ismail notifications at github.com
Fri Jul 19 12:00:08 CEST 2019


@miri64 if you noticed, I removed `CREDMAN_TAG_GLOBAL` in this 2a0244a. This is my original idea to use with the second use case described in in this PR:

> 2) the user does not have access to the sock because it is located in a lower leveled library used by user application (e.g. gcoap + DTLS).

But while trying to explain it, I noticed that doing it that way may not be scalable if there is other application like gcoap using it in the future. Basically, my idea was a list of reserved `credman_tag_t` containing the tag used in each application. I already have a new idea how to implement it but maybe it is better to discuss it in a new PR as this PR is full of comments already.

That means, this PR (+ sock_dtls PR which is coming) will only enable support for the first use case:

>  1) the user has direct access to the DTLS sock and can actually give the pointer of the credential buffer to the sock

If you're okay with that, I'll proceed with rebasing and squashing the commits.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11564#issuecomment-513171749
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190719/4ace189e/attachment.htm>


More information about the notifications mailing list