8000 DS rdata digest validation hexadecimal digits · Issue #252 · dnsjava/dnsjava · GitHub
[go: up one dir, main page]

Skip to content
DS rdata digest validation hexadecimal digits #252
Closed
@andrew-boutin

Description

@andrew-boutin

From https://www.rfc-editor.org/rfc/rfc4034.html#section-5.3

The Digest MUST be represented as a sequence of case-insensitive hexadecimal digits. Whitespace is allowed within the hexadecimal text.

The library allows non hex digits in the digest String. For example this rdata input "1 5 2 2BB18#AF5F22588179A!3B0A98*31FAD1A2^2118" gets normalized to "1 5 2 2BB17FAF5F225881799F3B0A98F31FAD1A1F2118". A digest of "$^" gets converted to "EF".

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0