[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [wakaama-dev] Pre-Shared Key (PSK) Mode key lenght
|
Hi Boris,
I think, this issue is more related to tinyDTLS. Long ago, I also detected that issue, see
https://sourceforge.net/p/tinydtls/tickets/24/
According Olaf's answer, in his opinion, the PSK length is related to the blocksize of the cipher.
Months later I got aware, that this relation of the PSK length and the blocksize of the cipher
is more a recommendation than a requirement. Therefore I raised an issue at the OMA page
https://github.com/OpenMobileAlliance/OMA_LwM2M_for_Developers/issues/151
which then results in lowering the requirement into recommendation.
So, if you want to use a larger PSK, I guess the right place to ask this is the tinyDTLS project.
https://projects.eclipse.org/projects/iot.tinydtls
Mit freundlichen Grüßen / Best regards
Achim Kraus
Bosch Software Innovations GmbH
Communications (INST/ECS4)
Stuttgarter Straße 130
71332 Waiblingen
GERMANY
www.bosch-si.de
www.blog.bosch-si.com
Registered office: Berlin, Register court: Amtsgericht Charlottenburg, HRB 148411 B
Executives: Dr.-Ing. Rainer Kallenbach; Michael Hahn
-----Ursprüngliche Nachricht-----
Von: wakaama-dev-bounces@xxxxxxxxxxx [mailto:wakaama-dev-bounces@xxxxxxxxxxx] Im Auftrag von ????? ?????
Gesendet: Mittwoch, 29. März 2017 23:19
An: Wakaama developer discussions <wakaama-dev@xxxxxxxxxxx>
Betreff: [wakaama-dev] Pre-Shared Key (PSK) Mode key lenght
Hi,
According to latest OMA-TS-LightweightM2M-V1_0-20170208, when using PSK mode it is recommended to provision a 16 byte (128 bit) key or longer in the Secret Key Resource.
Currently wakaama is using tinydtls library for security which limits the key to 16 bytes length (DTLS_KEY_LENGTH 16).
Is it possible to increase this value?
Thanks,
Boris Shlafman
_______________________________________________
wakaama-dev mailing list
wakaama-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/wakaama-dev