Collecting, organizing and provisioning numerous SSH-keys (e.g. for a CTF) is a tedious and error prone task. This tool automates this task by providing a web-interfaces for users to submit and for admins to review and deploy keys.
ENOKEY is configured with environment variables. Here is an example using docker-compose.yml:
version: '3'
services:
enokey:
image: enoflag/enokey
volumes:
- ./data:/enokey/data
restart: on-failure
ports:
- "80:8000"
environment:
- ROCKET_PORT=8000
- ROCKET_ENV=production
- ROCKET_LOG=normal
- ROCKET_SECRET_KEY=whs/vijJnEoWN9Xgf25oJDn2yUtvsNuhm0eMNxZe6CI=
- ADMIN_SERVERS=root@very.import.server:8022
- ADMIN_PSK=HIGHLYSECRET
- USER_SERVERS=root@boring.server
- USER_PSK=NOTSOSECRET
- RUST_BACKTRACE=1