Update security section in sample config for V2 certificate
Change-Id: I50225d5019040a85e6df3584fb48b6b6386ed56d
Refs: #4276
diff --git a/nfd.conf.sample.in b/nfd.conf.sample.in
index f27c6ef..a960b7d 100644
--- a/nfd.conf.sample.in
+++ b/nfd.conf.sample.in
@@ -302,13 +302,12 @@
;
; rule
; {
- ; id "NRD Prefix Registration Command Rule"
+ ; id "RIB Registration Command Rule"
; for interest ; rule for Interests (to validate CommandInterests)
; filter
; {
- ; type name ; condition on interest name (w/o signature)
- ; regex ^[<localhop><localhost>]<nfd><rib>[<register><unregister>]<>$ ; prefix before
- ; ; timestamp
+ ; type name ; condition on interest name (w/o SignatureInfo/SignatureValue)
+ ; regex ^[<localhop><localhost>]<nfd><rib>[<register><unregister>]<><><>$
; }
; checker
; {
@@ -318,7 +317,7 @@
; {
; type name ; key locator must be the certificate name of the
; ; signing key
- ; regex ^[^<KEY>]*<KEY><>*<ksk-.*><ID-CERT>$
+ ; regex ^<>*<KEY><>$
; }
; }
; }
@@ -329,7 +328,7 @@
; filter
; {
; type name ; condition on data name
- ; regex ^[^<KEY>]*<KEY><>*<ksk-.*><ID-CERT><>$
+ ; regex ^<>*<KEY><><><>$
; }
; checker
; {