[YANGTOOLS-828] Codecs should obfuscate leaves marked with openconfig-hashed-value Created: 11/Nov/17  Updated: 11/Nov/17

Status: Confirmed
Project: yangtools
Component/s: codecs
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Medium
Reporter: Robert Varga Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Blocks
blocks NETCONF-484 NETCONF should obuscate values marked... Confirmed
blocks NETCONF-485 RESTCONF should obfuscate values mark... Confirmed
is blocked by YANGTOOLS-829 Add support for openconfig-hashed-value Verified

 Description   

OpenConfig defines an extension which allows marking leaves as containing confidential information. Both JSON and XML codecs should recognize this marking and ensure plaintext is not encoded.

Since XML/JSON can be used for both backups (where we need plaintext) and normal NETCONF/RESTCONF operation (where we need to emit a hash), this needs to be configurable when the serializer is instantiated. Parsing should not be affected by this feature.


Generated at Wed Feb 07 20:54:25 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.