Help us shape the future of Go! Take the 2026 Go Developer Survey

agetool

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package agetool gives the tests that run the age command one that reads and makes post-quantum files (age >= 1.3): the age on PATH when it can, and otherwise the one go.mod names as a tool, at the version this module links, which go tool builds into the build cache.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PQ

func PQ() bool

PQ reports whether the age on PATH makes post-quantum keys. The key goes to stdout and is dropped: age-keygen refuses -o on a file that exists, /dev/null included, which would make this false on every age.

func Path

func Path() (string, error)

Path is PATH with an age and age-keygen that make post-quantum keys first in it: PATH itself when its own do, otherwise the module's tools before it. It runs go from the working directory, which must be inside this module.

Types

This section is empty.

Jump to

Keyboard shortcuts

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