- 30 Posts
- 579 Comments
moonpiedumplings@programming.devto
Linux@lemmy.ml•Is it safe to assume that all apps from the software store (Discover in my case) are safe?
5·15 hours agoDebian repos are basically guaranteed safe: https://programming.dev/comment/22863237
Flathub is much, much safer than say, the google play store, but it ultimately does follow a model of app developers submitting packages which get reviewed and approved. In theory, someone could sneak malware past that, although there haven’t been any incidents (perhaps flathub’s review is very effective?). But the snap store, which follows a similar model has had malware. But canonical hasn’t been the best steward of that one.
In addition to this, not all stuff on flathub is open source, which is definitely concerning.
Thankfully, flatpak has a built in sandboxing system, which lets you limit what the appps have access to. KDE has a UI for it, and there is also the GUI app flatseal.
moonpiedumplings@programming.devto
Linux@lemmy.ml•Is it safe to assume that all apps from the software store (Discover in my case) are safe?
1·15 hours agomalicious code does occasionally sneak into Debian distributed apps
Do you have an example of this? The xz utils backdoor did not make it into debian stable, only unstable.
Debian stable essentially forks every package, maintaining a custom codebase. They then cherry pick security updates only (ignoring feature updates or minor bugfixes), and applying those. This makes it extraordinarily resilient to any form of supply chain attack.
moonpiedumplings@programming.devto
Linux@lemmy.ml•Is it safe to assume that all apps from the software store (Discover in my case) are safe?
2·15 hours agoFlatpak’s show up in discover, and aren’t by the distro. Usually it’s flathub.
moonpiedumplings@programming.devto
Selfhosted@lemmy.world•NaiHe – lightweight E2E encrypted chat over any self-hosted MQTT brokerEnglish
13·23 hours agoJournalists communicating with sources in censored regions
Whistleblowers sharing information securely
You and your peer agree on an encryption key (any string).
This is unacceptably unsecure for the usecases you mention. There is a reason why the most secure messaging apps don’t use symetric encryption, don’t use passphrases, and they also possess forward secrecy.
It’s pointless to push this as a censhorship circumvention method when many other methods exist that already do so 10x better, in a secure way, over decentralized, hidden and unblockable infrastructure. (Tor’s meek-azure bridges use microsoft’s infrastructure, which nobody is able to block because everybody depends on it, even China).
I appreciate the project, and I am always happy to see people learning, progressing, and publishing their results, but you need to be honest about the weaknesses of your software compared to established solutions. It’s not impossible for you to one day produce a secure messaging app, but today is not the day. Right now, using this is just a fast way to get killed.
moonpiedumplings@programming.devto
Programming@programming.dev•Continuing my work on my Personal Home Page (PHP) site, very long post
3·1 day agoIt looks like they are using prepared statements, which prevent sql injection:
moonpiedumplings@programming.devto
Linux@lemmy.ml•How to connect to local private network?
2·2 days agosomewhat relevant: https://en.wikipedia.org/wiki/Shadow_IT
moonpiedumplings@programming.devto
Selfhosted@lemmy.world•a VPN that is easily self-hostable and resistant to blocking?English
2·4 days agoAlso try wireguard over port 53. Often (udp) traffic to port 53 is unblocked because it’s needed for DNS.
What is special about this setup is that it can sometimes get around captive portal wifi.
moonpiedumplings@programming.devto
Linux@lemmy.ml•How to run `firefox -p` command and have firefox opened after closing the terminal like WIndows Run box.
4·4 days agoIf you use kde, you can search for “profile manager”, and it will show up, and can be launched from the app menu.
At least works for me. Before this was added, the KDE search/app menu also lets you run commands directly, so I would just run firefox -p in there. No need for a terminal.
moonpiedumplings@programming.devto
linuxmemes@lemmy.world•Whenever theres some BCacheFS news
10·4 days agoDatabase performance on btrfs is miserable compared to zfs, whereas bcachefs was doing much better.
I say was because… see the other comment in the thread. :/
moonpiedumplings@programming.devto
Sysadmin@lemmy.world•How could you manage a large number of servers, clients and users the way AD does, in an all-Linux environment?English
8·6 days agoSee this old but still relevant comment I made on another thread: https://programming.dev/post/11284326/8200514 . TLDR: There are plenty of ways to do it. But you have to do it yourself and it’s not an all in one solution. Users are the easiest part though. Servers are second easiest. Clients are more difficult.
Further solutions and quick notes since then:
- Authentik is what I use for shared logins. It supports ldap as well as oidc.
- Nubus by univention for user management. It’s a wrapper around openldap and keycloak, so it comes with both those in one solution which looks nice
- Himmelblau is authentication of local desktops via oidc. Maybe not needed but interesting regardless.
- Firefox has policies: https://support.mozilla.org/en-US/kb/customizing-firefox-using-policiesjson which let you control and enforce certain settings like preinstalled extensions and default settings. You will probably need this for clients.
- Linux’s Realmd respects some group policies. Not all and it depends, but I’ve discovered it respects some, converting values to analogs. I’m assuming that Red Hat’s freeIPA/389 directory server can serve group policies as well. I don’t know how reliable this is for top down config though.
I’m going to focus on clients because users and servers are basically solved although you will have to pick and implement a solution.
If I was in an all linux environment… it depends on how much control I have over the current setup. The best would probably be to push configuration (but that also supports regular pull as well) from the top down to the users, via something like building immutable images or NixOS configs and then shipping them to clients. This would be an all in one solution that comprehensively covers every part of config.
I do agree with the other user in the thread, that user config management is a bit more difficult. Firefox policies cover the biggest thing, the browser, but the rest is annoying. Nix user config, or home manager config could do it, but hmmm.
And then the other thing is client security. When it comes to the specific kind of client security that IT environments want, Linux isn’t as ahead. I would really want an alternative AppLocker, or something similar to restrict app execution. I can guess three possible ways to do this:
- Mounting home directory noexec
- SELinux
- Apparmor
But, I think you would want to restrict software installation and execution. Not just to prevent malware, but having users install proprietary licensed software in an enterprise environment without actually purchase it could quickly turn into a nightmare for everybody.
edit: ooh, check this out:
https://talks.nixcon.org/nixcon-2024/talk/R8ZBWW/
https://clan.lol/docs/25.11/getting-started/creating-your-first-clan
https://github.com/nix-community/awesome-nix?tab=readme-ov-file#deployment-tools
Edit2: also check out meshcentral.
moonpiedumplings@programming.devto
Open Source@lemmy.ml•Made a Riddle app that only shows answer when you are rightEnglish
8·6 days agoIt’s codeberg pages… It is generated directly from codeberg, which has doesn’t allow private repos.
Source code: https://codeberg.org/purpleweb/Riddles_0-385_App
moonpiedumplings@programming.devto
Selfhosted@lemmy.world•a VPN that is easily self-hostable and resistant to blocking?English
34·6 days agohides as regular HTTPS traffic so it’s not blockable by Firewalls
From OP’s post, of course. If OP does not need to evade firewalls that are that aggressive, then they should have settled for a less stealthy VPN solution, as many of these HTTPS proxy solutions have performance and usability (can often only proxy TCP traffic) tradeoffs.
Perhaps they have already tried the wireguard on port 443 solution, and it didn’t work for them. My high school would auto detect and block wireguard to any port. Perhaps they are in a similar situation.
moonpiedumplings@programming.devto
Open Source@lemmy.ml•Note taking app that I can link between my laptop and phone ?English
2·6 days agoSeems to be the case:
https://github.com/anyproto/anytype-ts?tab=License-1-ov-file#readme
https://github.com/anyproto/anytype-kotlin?tab=License-1-ov-file#readme
The sync server is MIT though: https://github.com/anyproto/any-sync?tab=MIT-1-ov-file#readme
Interesting.
moonpiedumplings@programming.devto
Selfhosted@lemmy.world•a VPN that is easily self-hostable and resistant to blocking?English
35·6 days agoMany of the prominent https VPN protocols are for evading the great firewall of China. OP had that as a requirement, so it is not an unreasonable assumption.
If you are evading less locked down firewalls, then you don’t need as stealthy VPNs.
moonpiedumplings@programming.devto
Selfhosted@lemmy.world•a VPN that is easily self-hostable and resistant to blocking?English
3·6 days agoYes because they are all designed to evade the great firewall of China, which automatically catches almost all other VPN’s and proxies.
Github is blocked in China. The fact that these repos are on Github and Chinese is proof of their effectiveness.
moonpiedumplings@programming.devto
Selfhosted@lemmy.world•How to "upgrade" from Gitea to Forgejo (not for the faint of heart!)English
11·6 days agoIf you are not a Gitea customer, you are not being informed of security updates in a timely manner:
Gitea repeatedly makes choices that leave Gitea admins exposed to known vulnerabilities during extended periods of time. For instance Gitea spent resources to undergo a SOC2 security audit for its SaaS offering while critical vulnerabilities demanded a new release. Advance notice of security releases is for customers only.
https://forgejo.org/compare-to-gitea/#security
Also, ForgeJo was promising federation which is still a WIP several years later.
Oh no, it doesn’t do the big feature™. I guess it’s unusable now.
I wish people would realize that software still works and is excellent even without the various flagship features. I use Kubernetes on a single node. I know there are people who use matrix without federation and e2ee because it’s actually a really good chat app, it just struggles with the performance demands of federation, and the e2ee ux isn’t quite there yet.
moonpiedumplings@programming.devto
Privacy@lemmy.ml•If you're self-hosting for privacy, spend 10 minutes hardening your VPS first
9·6 days agoSurely everyone not using cloud hosting sticks some sort of router/firewall at the edge and runs the VPS inside with port forwarding?
I would really like to see a setup guide for this. Because if you are throwing a VPS up, they usually just give you a public ip address. I don’t really know how you would put a router/firewall in front.
moonpiedumplings@programming.devto
Open Source@lemmy.ml•Note taking app that I can link between my laptop and phone ?English
1·6 days agoI spun up a test, and it doesn’t let you edit encrypted notes
:(. It’s so nice though, I might be willing to give it up e2ee for less sensitive data.
moonpiedumplings@programming.devto
Selfhosted@lemmy.world•How to "upgrade" from Gitea to Forgejo (not for the faint of heart!)English
6·6 days agoYes. But this is a lot. It may be easier to use Forgejo’s built in migration tools, to copy over repositories along with their issues and other info. You would have to rebuild the admin parts of the site, like “organizations” and user privileges. (Well if you are using oauth and mapping users from oautb groups then you don’t…). And I don’t know if it’s automated for a many, many repos. But it’s just a click click click in the gui.
I remember there was a tool, I think it was related to forgefed, that could do batch repo migrations via the cli. I can’t find it anymore though.



















I don’t hate on any language’s syntax tbh, but the tooling for nix is absolutely miserable compared to similar.
People hate on yaml a lot, but I can start typing and then press tab and it completes a whole template for whatever k8s objecy I am trying to make. Having to copy from my other project’s shell.nix/whatever into the new one feels miserable in comparison.