master
preserve trailing whitespace in secrets input
remove deprecated envs
switch to ESM and update config/test wiring