ldns(3)
π ldns(3) β Library Functions Manual π
okay bestie, welcome to ldns(3) β it's a Library Functions Manual situation and we're about to talk about verifying signature data buffers. yes. we're doing crypto. slay. π
β¨ NAME β¨
ldns_verify_rrsig_dsa, ldns_verify_rrsig_rsasha1, ldns_verify_rrsig_rsamd5 β verify signature data buffers π
πΈ SYNOPSIS πΈ
#include <stdint.h>
#include <stdbool.h>
#include <ldns/ldns.h>
ldns_status ldns_verify_rrsig_dsa(ldns_buffer *sig, ldns_buffer *rrset,
ldns_buffer *key);
ldns_status ldns_verify_rrsig_rsasha1(ldns_buffer *sig, ldns_buffer
*rrset, ldns_buffer *key);
ldns_status ldns_verify_rrsig_rsamd5(ldns_buffer *sig, ldns_buffer
*rrset, ldns_buffer *key);
like yes, three functions, same shape, three different algorithms. the way that they all take the exact same three buffersβ¦ iconic honestly. π¦
π DESCRIPTION π
okay so. all three of these are verify girlies. they take a buffer of signature data, a buffer of rrset data, and a buffer of key data, and they check whether the sig actually checks out. no cap. π₯
ldns_verify_rrsig_dsa()β verifies a buffer with signature data (DSA) for a buffer with rrset data with a buffer with key data.sig: the signature datarrset: the rrset data, sorted and processed for verificationkey: the key data
ldns_verify_rrsig_rsasha1()β verifies a buffer with signature data (RSASHA1) for a buffer with rrset data with a buffer with key data.sig: the signature datarrset: the rrset data, sorted and processed for verificationkey: the key data
ldns_verify_rrsig_rsamd5()β verifies a buffer with signature data (RSAMD5) for a buffer with rrset data with a buffer with key data.sig: the signature datarrset: the rrset data, sorted and processed for verificationkey: the key data
bestie pls note: the rrset buffer has to be sorted and processed for verification before you hand it over. that's not optional, that's the whole vibe. π«Ά
π AUTHOR π
The ldns team at NLnet Labs. β¨
π REPORTING BUGS π
found something cursed? please report bugs to dns-team@nlnetlabs.nl or on GitHub at https://github.com/NLnetLabs/ldns/issues. they wanna hear it fr fr. π
π COPYRIGHT π
Copyright (c) 2004 - 2006 NLnet Labs.
Licensed under the BSD License. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. (read it again bestie, that's the dramatic part. no warranty. periodt. π )
π§ SEE ALSO π§
ldns_keyldns_sign_publicldns_zone_signldns_verifyldns_verify_rrsig
And perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035. iykyk π
β REMARKS β
This manpage was automatically generated from the ldns source code. yes, a machine wrote it. and now a very enthusiastic teenager rewrote it. the circle of life. π¦
and that's the whole page bestie!! this one's from 30 May 2006, it lives in ldns(3), and it ate. go verify some signatures, main character. πβ¨π
π¦ where this page comes from
- alpine 3.22: ldns-doc 1.8.4-r0 Β· BSD-3-Clause
- alpine 3.23: ldns-doc 1.8.4-r1 Β· BSD-3-Clause
- alpine 3.24: ldns-doc 1.8.4-r1 Β· BSD-3-Clause
- arch rolling: ldns 1.9.2-1 Β· custom:BSD
- debian trixie: libldns-dev 1.8.4-2+b1
- fedora 43: ldns-devel 1.8.4-8.fc43 Β· BSD-3-Clause
- fedora 43: ldns-devel 1.8.4-8.fc43 Β· BSD-3-Clause
- fedora 43: ldns-devel 1.9.2-1.fc43 Β· BSD-3-Clause
- fedora 43: ldns-devel 1.9.2-1.fc43 Β· BSD-3-Clause
- fedora 44: ldns-devel 1.9.0-2.fc44 Β· BSD-3-Clause
- fedora 44: ldns-devel 1.9.0-2.fc44 Β· BSD-3-Clause
- fedora 44: ldns-devel 1.9.2-1.fc44 Β· BSD-3-Clause
- fedora 44: ldns-devel 1.9.2-1.fc44 Β· BSD-3-Clause
- nixos 26.05: ldns 1.9.2
- nixpkgs unstable: ldns 1.9.2
- opensuse-leap 16.0: ldns-devel 1.8.4-160000.3.1 Β· BSD-3-Clause
- opensuse-leap 16.0: ldns-devel 1.8.4-160000.3.1 Β· BSD-3-Clause
- opensuse-leap 16.0: ldns-devel 1.8.4-160000.3.1 Β· BSD-3-Clause
- opensuse-leap 16.0: ldns-devel 1.8.4-160000.3.1 Β· BSD-3-Clause
- ubuntu questing: libldns-dev 1.8.4-2build1
- ubuntu resolute: libldns-dev 1.8.4-2build3
- ubuntu stonking: libldns-dev 1.9.2-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms