-
Notifications
You must be signed in to change notification settings - Fork 52
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
Bootstrap server security instance should have always been at "/0/0" ? #522
Comments
@kFYatek comment summarizes the issues with such a choice. IMHO, the main one is:
In the LwM2M relased Technical Specifications, the instance 0 of the Security Object was never reserved to the Bootstrap Server Account. Hence the need for the mandatory boolean resource 1: "Bootstrap-Server". As @ThGarnier wrote, the Bootstrap-Discover command allows a BS Server to determine which instance of the Security Object is associated to which LwM2M Server or Bootstrap Server account. But I agree that if the BS Server could delete everything in the Security Object then initial Bootstraps would be simpler to perform. This is a proposal I made but could not convince others on the benefits. However I encourage you to consider the LwM2M 1.2 Bootstrap-Pack feature. Regarding your last remark, community feedback is encouraged, this repo being one of the channel, Testfests are another one. See https://omaspecworks.org/events/testfests-registration/. Note that there is one at this moment. But the OMA is still a membership-based organization. Chances are that when this particular matter was discussed in the working group, the members saw more issues than benefits with the solution proposed by @kFYatek and @FredRodermund (whose companies are members). |
The specification already did this kind of exception (e.g. you can not delete /3/0 or bootstrap server account)
Really too bad. This would have mitigate the issue a lot.
It's really hard to me to understand this choice but I guess that if the reason was given in the corresponding issue this could help a little bit. |
Actually I remembered the reasoning while answering your other questions: It is forbidden to prevent bricking the device. Doing a |
I'm not sure to understand but I guess this means that member have more right than none-member.
This is pretty much the same thing than an open source project. contributor vs committer/membership. At the end this changes not so much but there is :
|
That was my guess, but :
|
(by the way thx a lot @dnav to take time to answer me 🙏 !) |
Well, member have more rights because non-members have no rights.
Sure. But then there is question of time and manpower. Meeting minutes exist but they are not public.
Well, it is more:
So to go with your analogy, the members are the contributors and the working group is the committer. Note that members open a lot of issues too. Just not in this repo. |
This aims to resolve issue raised at OpenMobileAlliance/OMA_LwM2M_for_Developers#522
This aims to resolve issue raised at OpenMobileAlliance/OMA_LwM2M_for_Developers#522
At Leshan we will strongly encourage to use the convention : |
Group agrees that this issue is resolved and can be closed 10/31/2023 |
@mkgillmore can you elaborate ? Resolved by what ? and in which version of the specification ? |
I don't know why ... but I was thinking that "/0/0" (instance 0 of Security object) was reserved to Bootstrap server.
There are some hints in OMA github which go in that way but I found nothing in the specification :
This simple idea had many benefits :
At first sight, it's really hard to me to understand why the OMA (remove or not introduce) this idea.
A classic simple/minimal use case for a bootstrap server is to :
As this constraint was removed (or not added 😕), a Bootstrap server can not apply a simple and safe bootstrap without doing a bootstrap discover...
Why ?
because it doesn't know which security instance contains the bootstrap server information (it could be any instance Id)
A solution could be to delete /0 and /1 before but it doesn't work because
Bootstrap Delete
says :(source core§Bootstrap-Delete-Operation)
Leshan user recently face interoperability issue because of this : eclipse-leshan/leshan#986 (comment)
Without surprise because adding discover and create a bootstrap config depending of discover result bring with more complexity at client and bootstrap server side ...
Maybe I'm wrong but from an exterior point of view this looks like as community feedback was not so encouraged.
See #152 (comment) :
And finally this discussion was close without any feedback, explanation about the OMA choice or even asking to community if the solution chosen by OMA sounds good.
This is too bad because this is frustrating for community 😞 and I guess OMA could benefits a lot to leverage community expertise.
The text was updated successfully, but these errors were encountered: