opensource

Back Open Paginator
14.08.2025 10:22
qjerome (@qjerome@infosec.exchange)

🚀 Porting libmagic to Rust: Safer File Identification 🚀

A little while ago (maybe a month or two), I started porting a great project to Rust: libmagic, the library behind the `file` command utility.

🤔 Why did I do that?
For years, I've faced the same issue with file identification: embedding a C library that does intensive parsing into my memory-safe code (Rust, Go, Python, etc.). While I trust the file/libmagic developer community's code quality, I know there are skilled people capable of finding and exploiting bugs—especially in C/C++ parsers. So I've always been reluctant to run libmagic on untrusted input, which creates a tricky situation that kind of defeats its original purpose: categorizing files you know nothing about.

🦀 Why Rust?
Rust is the perfect fit for this port. It provides strong safety guarantees while maintaining high performance and easy bindings to other languages (C/C++, Python, Go, Elixir, etc.). Bonus: the library and tool will be portable to all Rust-supported targets.

đź’» Show me the code!
Here it is: github.com/qjerome/magic-rs/pu
⚠️ Note: This isn't a full implementation yet—it's still a work in progress and needs more work for a usable, clean version (see PR description). That said, if you're feeling adventurous, you can test it out. It already successfully identifies several file types: MS-DOS executables, ELF binaries, scripts, and more.

🔄 Compatibility with C libmagic file format?
This project aims for 99% compatibility with libmagic's rule file format. A few rules (such as those using ternary notations in messages) may need adjustments, but the goal is to stay true to the existing specification.

📌 What's next?
- Finalize the library implementation and publish a Rust crate
- Complete the CLI tool (a `file`-equivalent implementation)
- Create bindings for other languages

If you're interested in this work, don't hesitate to follow along or reach out!

Special thanks to @adulau and @circl for supporting this work! 🙏

#Rust #Libmagic #Security #OpenSource #Programming #SoftwareDevelopment




Show Original Post


14.08.2025 10:22
andre123 (@andre123@snowfan.masto.host)

Se siete curiosi di i3wm (il window manager senza finestre), che usa poca ram, si controlla interamente da tastiera, e gira parecchio bene....

piped.casasnow.noho.st/watch?v

Questo primo video descrive i3wm, avendo cura di mostrare le shortcut e spiegarne bene le funzionalitĂ .

I successivi due mostrano anche come configurarlo ecc.
Ha 3 anni ma è ancora valido.

#i3wm #gnu #linux #opensource




Show Original Post


14.08.2025 10:20
capensis (@capensis@framapiaf.org)

💡 Et si l’Europe investissait sérieusement dans l’Open Source ?

GitHub appelle à la création d’un fonds public européen souverain pour soutenir durablement les logiciels ouverts, essentiels à l’infrastructure numérique mais encore trop souvent sous-financés !

💪 Un appel fort à faire de l’Open Source un enjeu stratégique du numérique européen.

Lire l’article sur GoodTech :
goodtech.info/github-fonds-sou

#OpenSource #LogicielLibre #SouverainetéNumérique #Europe #GitHub #FLOSS





Show Original Post


14.08.2025 10:13
janvlug (@janvlug@mastodon.social)

Via een -verzoek werd gevraagd om openbaarmaking van de broncode van de backend, frontend, cicd-configuratie en mogelijk maatwerk van het .

De staatssecretaris motiveerde het om de van het -systeem niet openbaar te maken niet voldoende.

De vernietigt het besluit en draagt de op om nieuw goed besluit te nemen.

uitspraken.rechtspraak.nl/deta




Show Original Post


14.08.2025 10:06
escuco (@escuco@norden.social)

fittrackee.de aktualisiert auf v0.11.2

Danke an @FitTrackee und alle weiteren Beteiligten!

fosstodon.org/@FitTrackee/1150

#FitTrackee #opensource #selfhosting #running #laufen #cycling #radfahren




Show Original Post


14.08.2025 09:59
conansysadmin (@conansysadmin@mstdn.social)

Wizards enslave some devices to serve other machines. What foul sorcery is this? #Samba #FreeBSD #OpenSource cromwell-intl.com/open-source/




Show Original Post


14.08.2025 09:54
incastropc (@incastropc@mastodon.social)

NVIDIA 580 per Linux è ora in beta con supporto Wayland migliorato: sessioni GNOME/KDE più stabili, meno tearing/flickering e migliori performance su GPU RTX 4000+. Utile per sviluppatori e utenti avanzati, ma per gli altri conviene attendere la versione stabile.
Leggi di piĂą: incastro.altervista.org/nvidia





Show Original Post


14.08.2025 09:52
baum (@baum@norden.social)

Vibe

Transcribe. on Your Own.

Experience seamless language transcription with Vibe - your all-in-one solution for effortless audio and video transcription.

thewh1teagle.github.io/vibe/

#Linux #Transcriptions #AudioNotes #Opensource




Show Original Post


14.08.2025 09:44
Gina (@Gina@fosstodon.org)

Big fan of Schleswig-Holstein's #opensource approach. Will meet them soon in Brussels 🥳

And yes, I'm absolutely borrowing their approach for the 'digital autonomy' pillar in our National Digitization Strategy (NDS).

youtu.be/DioQIiJ6AvA?feature=s




Show Original Post


14.08.2025 09:31
unixviking (@unixviking@social.linux.pizza)

A political appeal by a democratically minded European based on the dramatically changing situation and its consequences in the field of technology and IT:

Guys, if for whatever reason you are still working with Windows (or Apple, Google...), I can only urge you to take the current circumstances as a reason to switch to Linux and free software! Never has such a switch been more appropriate and important!

The end of Windows 10, Microsoft's coercion towards MS accounts and cloud compulsion, all the advertising spam from MS within Windows 11, the artificial hardware requirements for it, the AI compulsion in Windows, the data exploitation including data sales and telemetry behavior, the integrated spyware, and so many other negative and bad things!

And on top of that, there are the current political developments in the fascist states of America. Uneducated idiot, fascist, anti-democrat and narcissist with a severe minority complex – and best friend of child molester Epstein – Trump is turning the country into a fascist dictatorship, and the big American tech companies are bowing to the convicted criminal, most recently Tim Apple– ready to hand over all the data he demands and install surveillance tools, and not even stopping at Europe and Europeans.

Trump's hatred of Europe is well known, as is his admiration for war criminal and mass murderer Putin. Who knows what other brown crap will spill over the Atlantic to us.

That's why, dear people, and especially those outside the US (unfortunately, we can't help the good and decent people there, but they elected the brown problem in the White House themselves): Linux and free software now!

#linux #opensource #freesoftware #windows #endof10 #microsoft #google #apple #bigdata #bigtech #surveillance #fascism #trump #europe #eu #meta #amazon




Show Original Post


14.08.2025 09:29
Sbectol (@Sbectol@toot.wales)

Thinking about brands who have no shame in taking #opensource software to boost their profits without giving anything financially back.

And also those other brands who consistently give and give and give financially (and in other ways) but for some whatever they do is not enough.

I'm not feeling sorry for capitalists, to be clear. But some are obviously much better than others.




Show Original Post


14.08.2025 09:22
smallcircles (@smallcircles@social.coop)

Funding Open Source like public infrastructure

> To protect the digital foundation of essential government services, governments should invest in Open Source as public infrastructure and shift from consumption to contribution.

dri.es/funding-open-source-lik

news.ycombinator.com/item?id=4

#FOSS #FreeSoftware #OpenSource #Funding




Show Original Post


1 ...5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 ...6009
UP