Feature #1482
closed
Enable wildcard trust-anchor in ValidatorConfig
Added by Yingdi Yu over 10 years ago.
Updated over 10 years ago.
Description
When building a demo application, developers may want to disable packet validation.
Current implementation of ValidatorConfig does not allow that.
We can support this feature by defining a special trust anchor:
trust-anchor
{
type any
}
As long as such a trust-anchor is defined in config file,
packet validation will be turned off.
Such a type of trust anchor is dangerous and may be abused by developers.
The risk of using it will be emphasized in the document.
- Assignee set to Yingdi Yu
- Description updated (diff)
- Description updated (diff)
- Subject changed from Enable wildcard trust-anchor in ValdiatorConfig to Enable wildcard trust-anchor in ValidatorConfig
Don't define any "hidden option".
The document SHOULD point of the potential risk of using this trust anchor.
Hiding an option in document is harmful:
- Code is considered to contain a
backdoor
- an undocumented security risk.
- Bloggers may discover this option from code, and write it into tutorials without mentioning its high risk.
User won't be warned about the risk when reading document.
- Description updated (diff)
@Junxiao, I think you are right. This option should be described in docs. We should emphasize the risk of using it.
- Status changed from New to Code review
- % Done changed from 0 to 100
- Category set to Security
- Status changed from Code review to Closed
- Target version set to v0.1
Also available in: Atom
PDF