SNMP-USM-HMAC-SHA2-MIB(7)
π NAME
SNMP-USM-HMAC-SHA2-MIB β bestie, this is section 7 of the MIB manual, and it's the MIB that lays out the Object Identities you need so SNMP's User-based Security Model can do HMAC-SHA2 auth protocols. That's the whole thing. Iconic, honestly. πΈ
β¨ SYNOPSIS
Like, the literal module header + what it imports, no edits:
SNMP-USM-HMAC-SHA2-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-IDENTITY,
mib-2 FROM SNMPv2-SMI -- RFC 2578
snmpAuthProtocols FROM SNMP-FRAMEWORK-MIB; -- RFC 3411
So MODULE-IDENTITY and OBJECT-IDENTITY come in from SNMPv2-SMI (that's RFC 2578), and snmpAuthProtocols comes in from SNMP-FRAMEWORK-MIB (RFC 3411). Slay. π
π DESCRIPTION β the module identity moment
The main character here is snmpUsmHmacSha2MIB, and its MODULE-IDENTITY block is giving very official-document energy:
LAST-UPDATEDβ"201604180000Z"(that's 18 April 2016, midnight, for the timezone girlies π)ORGANIZATIONβ"SNMPv3 Working Group"CONTACT-INFOβ the receipts, all of them:- WG email:
OPSAWG@ietf.org - Subscribe:
https://www.ietf.org/mailman/listinfo/opsawg - Editor: Johannes Merkle, secunet Security Networks
- Postal: Mergenthaler Allee 77, D-65760 Eschborn, Germany
- Phone:
+49 20154543091 - Email:
johannes.merkle@secunet.com - Co-Editor: Manfred Lochter, Bundesamt fuer Sicherheit in der Informationstechnik (BSI)
- Postal: Postfach 200363, D-53133 Bonn, Germany
- Phone:
+49 228 9582 5643 - Email:
manfred.lochter@bsi.bund.de
- WG email:
And the DESCRIPTION itself, in its own words: this thing defines Object Identities needed for the use of HMAC-SHA2 Authentication Protocols by SNMP's User-based Security Model.
π Copyright + license (do NOT skip, this part is legally load-bearing)
Copyright (c) 2016 IETF Trust and the persons identified as authors of the code. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, is permitted pursuant to, and subject to the license terms contained in, the Simplified BSD License set forth in Section 4.c of the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info).
Fr fr, don't skim the license. It's short, it's real, and it's the reason you're allowed to touch this at all. π
π°οΈ REVISIONS (a glow-up timeline)
REVISION "201604180000Z"β 18 April 2016, midnight β "Version correcting the MODULE-IDENTITY value, published as RFC 7860"REVISION "201510140000Z"β 14 October 2015, midnight β "Initial version, published as RFC 7630"
And the module sticks itself into the tree right here:
::= { mib-2 235 }
π THE OBJECT IDENTITIES (the four auth protocol girlies)
All four of these are STATUS current, all four point at snmpAuthProtocols under a different sub-number, and all four cite the exact same two references:
- Krawczyk, H., Bellare, M., and R. Canetti, HMAC: Keyed-Hashing for Message Authentication, RFC 2104.
- National Institute of Standards and Technology, Secure Hash Standard (SHS), FIPS PUB 180-4, 2012.
π¦ usmHMAC128SHA224AuthProtocol β ::= { snmpAuthProtocols 4 }
This Authentication Protocol uses HMAC-SHA-224 and truncates output to 128 bits. Cute, small, efficient. π
::= { snmpAuthProtocols 4 }
π usmHMAC192SHA256AuthProtocol β ::= { snmpAuthProtocols 5 }
This Authentication Protocol uses HMAC-SHA-256 and truncates output to 192 bits.
::= { snmpAuthProtocols 5 }
β usmHMAC256SHA384AuthProtocol β ::= { snmpAuthProtocols 6 }
This Authentication Protocol uses HMAC-SHA-384 and truncates output to 256 bits. Ate, no crumbs.
::= { snmpAuthProtocols 6 }
π usmHMAC384SHA512AuthProtocol β ::= { snmpAuthProtocols 7 }
This Authentication Protocol uses HMAC-SHA-512 and truncates output to 384 bits. Big key, big vibes, still truncating because that's the assignment. π
::= { snmpAuthProtocols 7 }
π«Ά SEE ALSO
Bestie, there are no SEE ALSO cross-references on this page β the pointers live inside the module as the RFC/FIPS references above (RFC 2104, FIPS PUB 180-4, 2012, RFC 2578, RFC 3411, RFC 7860, RFC 7630) and as the OID parents SNMPv2-SMI and SNMP-FRAMEWORK-MIB. That's the whole web. πΈοΈ
And that's a wrap on the module β it literally ends with END. Periodt.
β¨ p.s. this whole page ships with Erlang/OTP β the SNMP part of it β so if you ever need to cite your sources in a group chat, that's who to @. π Erlang/OTP Β· SNMP Β· SNMP-USM-HMAC-SHA2-MIB(7) β mwah, talk later bestie ππ¦πΈ
π¦ where this page comes from
- alpine 3.24: erlang28-doc 28.5.0.8-r0 Β· Apache-2.0
- arch rolling: erlang-core 29.1.1-1 Β· Apache-2.0
- nixos 26.05: erlang 29.1.2
- nixpkgs unstable: erlang 29.1.2
- ubuntu stonking: erlang-doc 1:29.0.6+dfsg-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms