mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-30 12:33:02 +02:00
Validate keys in gen_hostkey() before passing empty keys to shell scripts, preventing: Nov 04 2024 10:54:25 confd[2697]: SSH key (genkey) does not exist, generating... Nov 04 2024 10:54:25 confd[2697]: writing RSA key Nov 04 2024 10:54:26 confd[2697]: do_convert_from_pkcs8: /tmp/tmp.FH1Hr1 is not a recognised public key format Also, fix base64 content formatting with proper 64-character line wrapping using printf+fold instead of echo. Use PKCS#1 RSA format for public keys as required by netopeer2-server, while keeping PKCS#8 format for private keys. Use proper ssh-keygen format flag (PKCS8) for correct conversion. Fixes #1289 Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
Welcome to Infix, your immutable, friendly, and secure operating system! On these pages you can find both user and developer documentation.
Most topics on configuring the system include CLI examples, but every setting, as well as status read-back from the operational datastore, is also possible to perform using NETCONF or RESTCONF. In fact, the Infix regression test system solely relies on NETCONF and RESTCONF.
Tip
The CLI documentation is also available from inside the CLI itself using the
helpcommand in admin-exec mode.
- CLI Topics
- Infix User Guide
- Infix In-Depth
- Developer Topics