dfss

package module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2016 License: MIT Imports: 3 Imported by: 0

README

DFSS

Distributed Fair Signing System

This repository contains source code for this INSA Rennes project (work in progress).

Configure workspace

  1. Install Go (>=1.5) and configure a Go workspace as explained here

  2. Navigate under $GOPATH/src and clone this repository

  3. Install build dependencies in dfss/ directory

dfss/build/deps.sh
  1. At this point, you will be able to install the DFSS project with some simple commands
  • To install CLI applications:
go install dfss/dfssc # Client
go install dfss/dfssp # Platform
go install dfss/dfsst # TTP

# or

make install
  • To build GUI for client into bin/ directory (using docker image)
# You may have to run these commands as root due to docker (sudo won't work)

# Prepare docker image, one time only
make prepare_gui

# Build
make gui
make dfssd

Do not attempt to run go install dfss/... or go install ./..., it won't work due to graphic binaries.

Run dfss modules

dfssc help # Client
dfssp help # Platform
dfsst help # TTP

For graphic clients, you may need to install some Qt4 libraries on your system.

cd bin
./gui   # Client GUI
./dfssd # Demonstrator

Documentation

Index

Constants

View Source
const Version = "0.2.0"

Version represents the current version of the DFSS software suite

Variables

View Source
var VersionCmd = &cobra.Command{
	Use:   "version",
	Short: "print version of dfss protocol",
	Run: func(cmd *cobra.Command, args []string) {
		fmt.Println("DFSS v"+Version, runtime.GOOS, runtime.GOARCH)
	},
}

VersionCmd is the cobra command common to all dfss modules

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
Package auth provides simple ways to handle user authentication
Package auth provides simple ways to handle user authentication
api
Package api is a generated protocol buffer package.
Package api is a generated protocol buffer package.
cmd
common
Package common Holds the common function to be used by other package Essentially handles I/O functions
Package common Holds the common function to be used by other package Essentially handles I/O functions
security
Package security is responsible for generating keys and certificate requests
Package security is responsible for generating keys and certificate requests
user
Package user handles all the user-related logic
Package user handles all the user-related logic
api
Package api is a generated protocol buffer package.
Package api is a generated protocol buffer package.
cmd
gui
Package gui is the graphic part of the dfssd program.
Package gui is the graphic part of the dfssd program.
api
Package api is a generated protocol buffer package.
Package api is a generated protocol buffer package.
cmd
api
Package api is a generated protocol buffer package.
Package api is a generated protocol buffer package.
cmd
gui
config
Package config handles basic configuration store for the GUI only.
Package config handles basic configuration store for the GUI only.
Package mails provides a simple interface with the smtp library
Package mails provides a simple interface with the smtp library
mockp
fixtures
Package fixtures contains the responses to the gRpc requests
Package fixtures contains the responses to the gRpc requests
server
Package server is the mock server, all functions must be redefined
Package server is the mock server, all functions must be redefined
net
fixtures
Package fixtures is a generated protocol buffer package.
Package fixtures is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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