internal

package
v4.22.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2025 License: MIT Imports: 4 Imported by: 0

README

TSIG Key File

How to generate example:

$ docker run --rm -it -v $(pwd):/app -w /app alpine sh
/app # apk add bind
/app # tsig-keygen example.com > sample1.conf
/app # tsig-keygen -a hmac-sha512 example.com > sample2.conf

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Key

type Key struct {
	Name      string
	Algorithm string
	Secret    string
}

func ReadTSIGFile

func ReadTSIGFile(filename string) (*Key, error)

ReadTSIGFile reads TSIG key file generated with `tsig-keygen`.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL