Skip to content

[OpenWrt] Fix HostID and HostID2 creation exceptions #1604

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 10, 2025

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.

@mboelen mboelen self-assigned this Feb 10, 2025
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