Skip to content

[OpenWrt] Fix HostID and HostID2 creation exceptions#1604

Merged
mboelen merged 2 commits intoCISOfy:masterfrom
macie:openwrt-hostid
Feb 10, 2025
Merged

[OpenWrt] Fix HostID and HostID2 creation exceptions#1604
mboelen merged 2 commits intoCISOfy:masterfrom
macie:openwrt-hostid

Conversation

@macie
Copy link
Contributor

@macie macie commented Feb 9, 2025

This is a part of enabling support for OpenWrt, see: #1600.

(more details in commit messages)

macie added 2 commits February 9, 2025 08:24
To reduce the size of the system, OpenWrt contains only one hashing command -
`sha256sum`.

SHA-256 hash truncation to SHA1 length is allowed by NIST, see:
<https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.180-4.pdf>.
OpenWrt uses `dropbear` as a lightweight SSH server.

I assume, that all devices with OpenWrt have MAC address (they are routers),
so to minimize impact on other OSes, I didn't touch SSH-based HostID
generation.
@macie macie mentioned this pull request Feb 9, 2025
5 tasks
@mboelen mboelen merged commit e9a8aeb into CISOfy:master Feb 10, 2025
@mboelen
Copy link
Member

mboelen commented Feb 10, 2025

Looks good to me. My compliments for how you extended the code with careful attention on the existing parts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants