12 releases (6 breaking)
Uses old Rust 2015
0.7.0 | Mar 19, 2018 |
---|---|
0.6.0 | Apr 24, 2017 |
0.5.0 | Apr 10, 2017 |
0.4.4 | Mar 20, 2017 |
0.1.1 | Sep 23, 2016 |
#1052 in Cryptography
8KB
202 lines
Instruction
syntax
Each Instruction
is a json with two fields
action
The action
field is one of:
ENABLE_SSH
DSABLE_SSH
keys
The keys
field is an array of ssh Key
s to (un)authorize
Key
A Key
is composed of two String
fields:
user
which is the user idkey
which is the actual public key
Example
{
"action": "ENABLE_SSH",
"keys" : [
{
"user": "user_foobar",
"key": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO16Z2PGX5UzhQLlKCxhJ4c+4+WQRPZAZtoL9oekpm keruspe@Lou"
}
]
}
Answer
syntax
Each Answer
is a json with one field
status
The status
field is one of
SUCCESS
FAILURE
Destination
syntax
Each Destination
is a json with two fileds
host
The host
field is a String
port
The port
field is a u32
Dependencies
~0.7–1.6MB
~34K SLoC