[MS-DSCPM]§2.2.2.2(校验和):示例中的BASE16无效 [英] [MS-DSCPM] §2.2.2.2 (Checksum): invalid BASE16 in example

查看:66
本文介绍了[MS-DSCPM]§2.2.2.2(校验和):示例中的BASE16无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想报告[MS-DSCPM]:期望状态配置拉模型协议中的错误,发布日期为9/15/2017。我实际上并没有使用这个协议,因此我不需要紧急回复。

I'd like to report an error in [MS-DSCPM]: Desired State Configuration Pull Model Protocol, publication date 9/15/2017. I am not actually using this protocol, so I do not require an urgent response.

第2.2.2.2节(校验和)说:



 Checksum = "Checksum" : DQUOTE Check-sumvalue DQUOTE CRLF
 Check-sumvalue = BASE16 ; specified in [RFC4648]
   / 0x00 (Null Character) 
  



示例:"Checksum":" 8eDMbsSDig15Xx + B3msvRrDa5N1njaf5smVujQjhOeI ="

Example: "Checksum":"8eDMbsSDig15Xx+B3msvRrDa5N1njaf5smVujQjhOeI="

" Checksum":""

"Checksum":""

根据[RFC4648],BASE16仅使用字符0123456789ABCDEF(不区分大小写)。字符串"8eDMbsSDig15Xx + B3msvRrDa5N1njaf5smVujQjhOeI ="是无效的BASE16,因为它包含"M"和"M"。和其他不允许的角色。不过,
看起来像是有效的BASE64。

According to [RFC4648], BASE16 uses only the characters 0123456789ABCDEF (case insensitive). The string "8eDMbsSDig15Xx+B3msvRrDa5N1njaf5smVujQjhOeI=" is not valid BASE16 because it contains "M" and other disallowed characters. It looks like valid BASE64, though.


ValidateChecksum PowerShell-DSC-for-Linux中的函数
在BASE16中格式化校验和,然后比较字符串,所以我认为2.2.2.2节中对BASE16的引用是正确的,并且错误仅在示例中。

The ValidateChecksum function in PowerShell-DSC-for-Linux formats a checksum in BASE16 and then compares strings, so I think the reference to BASE16 in section 2.2.2.2 is correct, and the error is only in the example.

进一步说明,使用"0x00(空字符)"。看起来很可疑。在HTTP标头字段中发送空字符不是常见的做法。我想知道[MS-DSCPM]是否真的通过线路发送空字符,或者它们是否只在内存中存在

On a further note, the use of "0x00 (Null Character)" seems suspicious. Sending null characters in HTTP header fields is not a common practice. I wonder whether [MS-DSCPM] really sends the null characters over the wire or whether they exist only in memory.

推荐答案

Hello Ranta -  

Hello Ranta - 

感谢您对MS-DSCPM开放规范的咨询。我们创建了一个调查此问题的事件。其中一个公开规范的团队成员将在周一之前与您联系。

Thank you for your inquiry about MS-DSCPM open specification. We have created an incident for investigating this issue. One of the Open specifications team member will contact you by Monday.

谢谢


这篇关于[MS-DSCPM]§2.2.2.2(校验和):示例中的BASE16无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆