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

建议你把 auth 信息放到 URI-QUERY #3

Closed
crazydiamondzgy opened this issue Aug 22, 2015 · 2 comments
Closed

建议你把 auth 信息放到 URI-QUERY #3

crazydiamondzgy opened this issue Aug 22, 2015 · 2 comments

Comments

@crazydiamondzgy
Copy link

理由是:
1) 目前常规方案
2) 使用 coap-client , copper 都可以简单通信
3) BLOCK2 不是RFC7252 核心部分, 有可能跟其它实现不兼容

@phodal
Copy link
Owner

phodal commented Aug 23, 2015

如 coap://111.222.333.444/id/1?root:root

@crazydiamondzgy
Copy link
Author

如果是加密模式,可以是coap://111.222.333.444/id/1?auth=BD3CA982379734EF 模式
具体步骤,先将用户名密码 root:root DES AES 加密成 binary,然后将 binary base64 转换成可见模式

@phodal phodal closed this as completed in 76b6da4 Aug 23, 2015
@phodal phodal reopened this Aug 23, 2015
@phodal phodal closed this as completed Aug 23, 2015
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

No branches or pull requests

2 participants