SSHSecure/TODO

26 lines
843 B
Plaintext
Raw Normal View History

-sshkeys (see ref/<type>/parse_poc_<keytype>.go for POC)
2020-09-18 18:01:16 -04:00
--hostkeys (https://security.stackexchange.com/questions/211106/what-is-the-difference-between-host-and-client-ssh-key-generation)?
-moduli dhparams generation (dh.c? moduli.c?)
2020-09-18 18:01:16 -04:00
--ssh-keygen.c, ~L3565
- General/common
-- Locking?
-- Constants for common file dests
-- Func to write to dest, backing up dest if exists first
-- Test ssh config (sshd -t) and rollback if fail
- Key generation
-- DONE: Generate priv/pubkeys
-- Build key structure
-- write out base64 with headers to files
- SSH Moduli
-- Do DH param gen in goroutine so we can do other things while it spawns and runs
-- Check if haveged is running. If not and installed, start it.
-- Generate moduli
-- Render to /etc/ssh/moduli format
-- Write to dest
- Config
-- Need to merge in changes
-- Track options in struct?