From c1456fe93eb906292c788905184af3097926a572 Mon Sep 17 00:00:00 2001 From: Theo Buehler Date: Mon, 23 Oct 2023 19:42:27 +0200 Subject: [PATCH] Fix bgpsec-router OID I had a typo: 2e vs 1e, which I had fixed in my tree and somehow managed not to commit before pushing... https://www.rfc-editor.org/rfc/rfc8209#section-3.1.3.2 --- cmd/der2ascii/oid_names.go | 2 +- util/oid_names.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/der2ascii/oid_names.go b/cmd/der2ascii/oid_names.go index 3bfc439..2358218 100644 --- a/cmd/der2ascii/oid_names.go +++ b/cmd/der2ascii/oid_names.go @@ -94,7 +94,7 @@ var oidNames = []struct { {[]byte{0x2b, 0x6, 0x1, 0x5, 0x5, 0x7, 0x3, 0x4}, "emailProtection"}, {[]byte{0x2b, 0x6, 0x1, 0x5, 0x5, 0x7, 0x3, 0x8}, "timeStamping"}, {[]byte{0x2b, 0x6, 0x1, 0x5, 0x5, 0x7, 0x3, 0x9}, "OCSPSigning"}, - {[]byte{0x2b, 0x6, 0x1, 0x5, 0x5, 0x7, 0x3, 0x2e}, "bgpsec-router"}, + {[]byte{0x2b, 0x6, 0x1, 0x5, 0x5, 0x7, 0x3, 0x1e}, "bgpsec-router"}, {[]byte{0x55, 0x1d, 0x25, 0x0}, "anyExtendedKeyUsage"}, {[]byte{0x2b, 0x6, 0x1, 0x5, 0x5, 0x7, 0x2, 0x2}, "unotice"}, {[]byte{0x2b, 0x6, 0x1, 0x5, 0x5, 0x7, 0xe, 0x2}, "ipAddr-asNumber"}, diff --git a/util/oid_names.txt b/util/oid_names.txt index 175bf9e..235813e 100644 --- a/util/oid_names.txt +++ b/util/oid_names.txt @@ -89,7 +89,7 @@ codeSigning: 1.3.6.1.5.5.7.3.3 emailProtection: 1.3.6.1.5.5.7.3.4 timeStamping: 1.3.6.1.5.5.7.3.8 OCSPSigning: 1.3.6.1.5.5.7.3.9 -bgpsec-router: 1.3.6.1.5.5.7.3.46 +bgpsec-router: 1.3.6.1.5.5.7.3.30 anyExtendedKeyUsage: 2.5.29.37.0 # X.509 policy IDs