Skip to content

curse

Self-hosted SSH certificate signing server for teams running a bastion host without AWS

Permissive (OSI) · MIT

Listed by , founder & editor

18

Health

Dormant

Overview

Stars

218

Last commit

10 years ago

Apr 2017

Repository age

9 years

since Feb 2017

Latest version

v0.9

Mar 2017

Contributors

–

Releases

0

last 12 months

Language

Go

CURSE is an SSH certificate authority server written in Go. It was built as an alternative to Netflix's BLESS, without the dependency on AWS. Users request short-lived certificates instead of you distributing long-lived keys to every server.

You install it on a bastion host from a Debian, Ubuntu or CentOS package repository, along with pwauth and the jinx client. A setup script prints the CA public key. You add that key to each destination server through TrustedUserCAKeys in sshd_config. The jinx client then requests a certificate, which you can inspect with ssh-keygen. It needs OpenSSH 5.6 or newer on the servers.

The documentation also covers using several CA keypairs, with all but one stored offline, to ease key rotation. The project is marked beta and its last commit was in 2017, so treat it as a reference for the approach more than a maintained product. It is MIT licensed.

Who it's for

Sysadmins running a bastion host on Debian, Ubuntu or CentOS 7

Packages and a setup script get a certificate authority running on the bastion.

Skip if: You need current OS support or active security fixes.

Teams wanting BLESS-style certificates without AWS

It issues SSH certificates from your own server instead of an AWS Lambda.

Skip if: You already run a maintained SSH CA such as HashiCorp Vault.

The problem it solves

Distributing long-lived SSH keys across servers is hard to audit and rotate. CURSE signs short-lived SSH certificates from a server you control, so destination servers only need to trust the CA key.

Strengths

  • Works without AWS, unlike BLESS
  • Packages for Debian, Ubuntu and CentOS 7
  • Destination servers only need a CA key in sshd_config
  • Supports multiple CA keypairs for easier rotation

Trade-offs

  • No commits since 2017; the project is dormant
  • Marked beta by the author
  • Docs target old releases such as Ubuntu 15.10 and CentOS 7
  • Relies on pwauth for authentication

Self-host curse

Self-hostable
Yes

Frequently asked questions

Is it free?

Yes. It is MIT licensed.

Can I self-host it?

Yes. You run the curse daemon on your own server, typically the bastion host.

What does it need on the servers?

OpenSSH 5.6 or newer, since SSH certificates are a recent OpenSSH feature.

Is it still maintained?

No. The last commit was in April 2017 and the latest version is v0.9.

Similar tools in Secrets management

dopbase

Secrets management

208 12 11 days ago Active Apache-2.0

crypt.fyi

Secrets management

145 10 today Thriving Apache-2.0

1time

Secrets management

105 19 today Thriving MIT

aquaman

Secrets management

39 today Thriving Apache-2.0

AIKeyVault

Secrets management

33 1 5 months ago Slowing MIT

Pushie

Secrets management

19 4 2 years ago Dormant Apache-2.0