sssaas

package module
v0.0.0-...-8afc5aa Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2016 License: MIT Imports: 13 Imported by: 0

README

sssaas-golang

API Library for SSSaaS

Copyright (C) 2015 Alexander Scheel, Joel May, Matthew Burket  
See Contributors.md for a complete list of contributors.  
Licensed under the MIT License.  

Usage

Note: this is the API library; for an implementation of SSS in Go, look here.

sssaas.GetSecret(serveruris []string, tokens []string, secrets []string, timeout int) (string, error)
    - combines and retrieves secret from a collection of remote URIs

For more detailed documentation, check out docs/sssaas.md

Contributing

We welcome pull requests, issues, security advice on this library, or other contributions you feel are necessary. Feel free to open an issue to discuss any questions you have about this library.

This is the reference implementation for all other SSSaaS projects.

For security issues, send a GPG-encrypted email to alexander.m.scheel@gmail.com with public key 0xBDC5F518A973035E.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromConfig

func FromConfig(obj Config) (string, error)

func FromYAML

func FromYAML(content []byte, key string) (string, error)

func GetSecret

func GetSecret(endpoints []string, shares []string, minimum int, timeout int) (string, error)

Types

type Config

type Config struct {
	Remote  []string
	Local   string
	Shares  []string
	Minimum int
	Timeout int
}

Jump to

Keyboard shortcuts

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