oinit

module
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: MIT

README

oinit

Certificate-based OpenSSH for Federated Identities

This repository contains a collection of programs to enable OpenSSH login for federated identities based on certificates.

Please refer to the Documentation directory to learn about installation and configuration.


OpenID Connect access token for selected provider is loaded from oidc-agent.

Development

Building:

# Client application
$ make oinit

# oinit-shell and oinit-switch
$ make oinit-shell oinit-switch

# Server application (CA)
$ make oinit-ca

When changing the REST API annotations, run make swagger to generate the Swagger files.

Testing:

# Formating
$ make fmt

# Unit tests
$ make test

# Static analysis
$ make vet
$ make staticcheck # go install honnef.co/go/tools/cmd/staticcheck@latest

Alternatively, run make all-checks to run tests and static analysis.

Branches

Development happens on feature branches checked out from and merged back into prerelease. When ready, commits are merged into main and tagged as release.

License

This project is licensed under the MIT License.

Directories

Path Synopsis
api
cmd
oinit command
oinit-ca command
oinit-shell command
oinit-switch command
internal
api
util
Package util provides utility functions for various common tasks.
Package util provides utility functions for various common tasks.
pkg
libmotleycue
Package libmotleycue provides an API client for select calls of motley_cue v0.5.3
Package libmotleycue provides an API client for select calls of motley_cue v0.5.3
log

Jump to

Keyboard shortcuts

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