go-bankgiro

command module
v0.0.0-...-d5f7082 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

README

go-bankgiro

Go library and CLI tool to encode and seal files sent to the Swedish Bankgiro

Installation

Binaries

You can download pre-built binaries from the releases page.

Debian/Ubuntu Package Repository

You can download the package from the hoglandet package repository. For more information, visit deb.pkg.hoglan.dev.

Building from source

To build the CLI tool from source, you need to have Go installed. You can then run the following command to build the CLI tool:

git clone https://github.com/hoglandets-it/go-bankgiro.git
cd go-bankgiro
go build ./cmd/bankgiro -o go-bankgiro
chmod +x go-bankgiro

# Optional: Move binary to PATH
sudo mv go-bankgiro /usr/local/bin/

Usage

$ go-bankgiro
NAME:
   go-bankgiro - A new cli application

USAGE:
   go-bankgiro [global options] command [command options] 

DESCRIPTION:
   A tool to seal and validate Bankgiro files with HMAC

COMMANDS:
   seal, s      seal a file with a given key
   validate, v  validate a file with a given key
   help, h      Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h  show help
Seal a file
$ go-bankgiro seal --help

NAME:
   go-bankgiro seal - seal a file with a given key

USAGE:
   go-bankgiro seal [command options]key file

OPTIONS:
   --key value, -k value  key to seal the file with
   --kvv value, -v value  kvv to check the seal with (optional)
   --help, -h             show help

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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