wireguard-keys

Crates.iowireguard-keys
lib.rswireguard-keys
version0.1.1
sourcesrc
created_at2022-03-31 16:12:14.556163
updated_at2022-06-06 21:11:34.017805
descriptionGenerate, parse and export WireGuard (x25519) keys.
homepage
repositoryhttps://gitlab.com/fractalnetworks/wireguard-keys
max_upload_size
id559695
size21,967
Patrick Elsen (xfbs)

documentation

README

WireGuard Keys

This is a utility crate containing data structures relating to WireGuard. There are no builds for it, but the RustDoc documentation is published on every commit.

Resources:

To build this, you want to run make setup-git because it will use your SSH keys instead of asking for git credentials (and possibly requiring 2-factor authentication).

Features

By default, this crate only provides types for WireGuard keys (Pubkey, Privkey, Secret). These optional features can be enabled:

  • serde: serialization and deserialization capabilities (enabled by default).
  • hex: convert to and from hex (enabled by default).
  • base64: convert to and from base64 (enabled by default).
  • base32: convert to and from base32.
  • rocket: ability to parse WireGuard keys from HTTP requests in Rocket.
  • schema: ability to generate JSON schemas from the types.
Commit count: 0

cargo fmt