Github is a non-free platform owned by Microsoft. Reasonable alternatives exist, such as Gitea, Sourcehut. We need a federated, mastodon-like forge based on ForgeFed. Github sucks. See: https://forgefed.peers.community/
Github is a non-free platform owned by Microsoft. Reasonable alternatives exist, such as Gitea, Sourcehut. We need a federated, mastodon-like forge based on ForgeFed. Github sucks. See: https://forgefed.peers.community/
> @githubisnonfree sorry for the confusion, heads uses local GCC to build musl-cross-make and then builds everything with it, including coreboot's buildstack which then builds itself with it. > >...
regarding randomization i think the best way to have random mac addresses would be to implement it in nvmutil. command syntax example: ./nvm gbe.bin setmac 00:11:22:33:44:55 This example above is...
well C has rand() which is pretty decent. the only question is, what to use as a seed value. a most conservative choice would be to simply fetch the current...
there are libs that do randomization but for our purposes, what i want is something simple and reasonably random. this isn't AES
i think a good sane approach is: read from /dev/urandom, get numbers from that. urandom is sufficiently random for our purposes or just return -2 if can't read from urandom...
@tlaurion i did it patch: https://notabug.org/osboot/nvmutil/commit/40f25c70d5fb7aeb6e56abf91e562a901c743e42 This adds randomization support for setmac, with the scheme previously described.
@tlaurion check again nvmutil git repo. i optimized it a ton. 11224kb compiled with tcc on my x86_64 machine i'm planning to revive nvmutils too, with these optimized techniques from...
i'm going to experiment further, later; i will see if using mmap for files (instead of read/write) might yield a smaller binary. that's about all i can do before i...
ok, but nvmutil has been optimized for size now, and i just woke up as i write this. gonna finish nvmutil using mmap to see if that reduces size further...
@tlaurion i made a new release of nvmutil. version 20220808 https://notabug.org/osboot/nvmutil/src/20220808 Changes: https://notabug.org/osboot/nvmutil/src/20220808/ChangeLog.md Summary: * Vastly reduced code/binary size * OpenBSD pledge used (ifdef rule used, so it still compiles...