Commit Graph

16 Commits

Author SHA1 Message Date
Daniel Barlow 42aa1d8f0a improve method name, use ncall for server.listen 2024-09-26 22:14:45 +01:00
Daniel Barlow 9ef1947211 check io.open return 2024-09-26 22:11:37 +01:00
Daniel Barlow ba3795e3f2 bind to address provided on command line
bonus: and print an error if we couldn't
2024-09-26 22:08:29 +01:00
Daniel Barlow 32099b7541 parse command-line for options instead of hardcoding
note port is still hardcoded
2024-09-26 22:05:13 +01:00
Daniel Barlow e410cef1f4 inline not-found function 2024-09-26 21:34:37 +01:00
Daniel Barlow afd3088cee matchng psk in example between client and expected 2024-09-25 21:40:01 +01:00
Daniel Barlow 1a3e7918b2 add title 2024-09-25 21:34:27 +01:00
Daniel Barlow 27f2718ec5 remove newline 2024-09-25 21:31:04 +01:00
Daniel Barlow db96baa96b improve README 2024-09-25 21:30:55 +01:00
Daniel Barlow 20fdd0aac6 add openssl in shell environment 2024-09-25 21:17:42 +01:00
Daniel Barlow fe98a413ee implement policy-based signing
the csr will be signed iff it has a challengePassword attribute
containing a value matching the contents of the "psk" file

yeah, UX could use a little work
2024-09-25 21:14:13 +01:00
Daniel Barlow 911faaa0ef extract method send-error 2024-09-25 12:26:34 +01:00
Daniel Barlow ad29d9e100 extract method make-headers 2024-09-25 12:23:49 +01:00
Daniel Barlow ed53c967d7 improve README 2024-09-25 12:07:30 +01:00
Daniel Barlow 8a7287d552 unhardcode the certificate serial number 2024-09-25 12:00:40 +01:00
Daniel Barlow 6ddae21727 initial commit 2024-09-25 10:20:14 +01:00