matthewjwhite / crystal-skull

:skull: Highly-configurable, telnet-compatible, text-based RPG
MIT License
0 stars 0 forks source link

crystal-skull

A highly-configurable, telnet-compatible, text-based RPG.

Build

  1. docker build -t crystal-skull .

Run

  1. docker-compose up -d
  2. telnet localhost 5555
  3. Follow steps to create a user.
  4. Play the game!

Upon reconnecting, you will need to decrypt the challenge to authenticate.

To decrypt (assuming priv. key at mykey.pem):

echo <encryptedEncodedChallenge> | base64 -d > challenge && \
    openssl rsautl -decrypt -in challenge -inkey mykey.pem -out challenge-dec && \
    cat challenge-dec && \
    rm -f challenge challenge-dec

Goals