News for hackers. Stuff that matters.
Re:Bottles: GUI front end to run Windows software on Linux by MayeulC on Sunday December 19, 2021 @08:56AM (#29613961)
It's a shame winepak never really took off https://www.winepak.org/

To make this clear, there hasn't been much activity since 2018: https://github.com/winepak/winepak

Re:Bottles: GUI front end to run Windows software on Linux by 1_player on Sunday December 19, 2021 @11:27AM (#29615198)
That's fantastic! I've been trying to package as many apps as I can as flatpak (because flatpak rocks, fight me), I will definitely look into winepak to package Windows-only software. The fact that it uses a standard and common-place technology, it just needs more exposure IMO. This is the first time I have heard of it.

EDIT: nevermind...

  $ flatpak remote-add --if-not-exists winepak https://dl.winepak.org/repo/winepak.flatpakrepo
  error: Signature made Fri 20 Jul 2018 03:30:34 BST using RSA key ID A959831C080B608F
  BAD signature from " <[email protected]>"
  Key expired Tue 09 Jun 2020 19:16:34 BST
Re:Bottles: GUI front end to run Windows software on Linux by alvarlagerlof on Sunday December 19, 2021 @02:17PM (#29617275)
It's not active anymore.
Re:Bottles: GUI front end to run Windows software on Linux by MayeulC on Sunday December 19, 2021 @04:37PM (#29618674)
Which is a real shame. I can definitely see some value in winepak, and flatpaks could be built from Lutris install scripts, etc.

I don't have much interest in windows apps, but I wouldn't mind donating a bit of money (as opposed to free time) to the project.

Edit: https://github.com/winepak/winepak/issues/23#issuecomment-64...

> The biggest issue with winepak, which is why I haven't been working on it, is that it all revolves around me building things instead of a remote server doing it and having people contribute. I really just need to get the buildbot & sdk in a place that it can auto build an push out. Then it can do all the signing and building again and this shouldn't happen. I just need to find the time.

Maybe a few PR around automation, and/or donated CI runtime could help a whole lot?

Re:Bottles: GUI front end to run Windows software on Linux by smoldesu on Sunday December 19, 2021 @12:55PM (#29616318)
I mean, I can see why. At this point, Flatpak has more open issues than Wine itself...
Re:Bottles: GUI front end to run Windows software on Linux by 1_player on Sunday December 19, 2021 @02:10PM (#29617204)
The flatpak hate gang strikes again. Seriously, more bugs than Wine? For the first time we have a cross-distro packaging system, and I still hear people complaining that the olden days were better. Are you kidding me?

Honestly, I don't even care to entertain this discussion, as for the FIRST TIME in Linux history there is people packaging an application and it works exactly the same everywhere, and some can only meet this achievement by unpaid volunteers with _snark_ because it's not "perfect".

It's tiring to see any effort to make the Linux desktop a reality met with unconstructive opposition from daily Linux desktop users.

/rant

Re:Bottles: GUI front end to run Windows software on Linux by grozzle on Sunday December 19, 2021 @03:12PM (#29617850)
no-one here said the olden days were better. it is possible for something to be generally in the right direction, but still in great need of improvements. dismissing anything not as positive as you'd like as unconstructive is itself unconstructive.
Re:Bottles: GUI front end to run Windows software on Linux by 1_player on Sunday December 19, 2021 @06:11PM (#29619534)
Ah, because saying that flatpak has more issues than Wine _is_ constructive. It is not even close to being true. Yes, I flew off the handle a bit there, but I'm quite done with the useless snark from some commenters, especially since it's pretty common on this forum regarding certain technologies, and in my eyes, completely unwarranted.

Nowhere in my comment I said Flatpak is perfect and doesn't need more work to be really good, and I certainly didn't resort to hyperbole to discredit the work of other people, that's for sure.

I should probably take a walk and not angrily comment on the Internet, I agree...

Re:Bottles: GUI front end to run Windows software on Linux by rimiform on Sunday December 19, 2021 @06:37PM (#29619783)
I think you're looking for this behaviour? Try using * instead of _ and that's what you'll get. Use two for bold, if you want.
Re:Bottles: GUI front end to run Windows software on Linux by 1_player on Sunday December 19, 2021 @07:07PM (#29620026)
Thanks, I didn't know that. But using underscores as emphasis is very common on plain text communications (Linus Torvalds uses them often)
Re:Bottles: GUI front end to run Windows software on Linux by michaelmrose on Sunday December 19, 2021 @04:04PM (#29618400)
Flatpak is only exciting Redhat who wants to easily provide up to date software on a very old stable base and to be the Google of linux software distribution and to prospective developers who don't at present already have a method of getting debs and rpms to end users easily. This is a small group.

For end users its meant slower startup, apps that ignore user themes, concern that a rogue developer will poison the well with outright malware, concern that a legit developer will get hacked and instantly disseminate malware to all users with their flatpak installed, flatpak only bugs, permissions issues, and additional complexity in managing software.

For developers who already have their software widely available via traditional packaging its something else they have to do in addition to traditional packaging not an alternative because its not universal. In fact last year only a single digit percentage said they used it.

If your prospective users aren't excited about your product perhaps one needs to reconsider if its the users fault for not being excited.

Re:Bottles: GUI front end to run Windows software on Linux by MayeulC on Sunday December 19, 2021 @04:46PM (#29618749)
I am excited about flatpak for multiple reasons, which boils down to sandboxing:

1. Proprietary software: most proprietary software authors do not play well with packagers. Moreover, I want any proprietary software properly sandboxed

2. Software that you need sandboxed for various reasons: I've been running flatpak nightlies of stuff I otherwise have installed on my system

3. Installing a program without installing a whole bunch of dependencies, hard to clean up after

4. Cleaning up my home directory

Sandboxing (I know most flathub packages have leaky sandboxes, but that's a start) limits the effect of compromising one flatpak. To be clear: I treat any piece of proprietary software as a possible RCE by the author.

User themes issues are probably fixable.

Slower startup as well, to an extent.

Unfortunately, developers are pretty bad at packaging generally, and don't have distro maintainers watching over their CVEs and upgrading dependencies with the flatpak model... Although users could still dig in and fix these by themselves, and sandboxing still gives a few protections.

Re:Bottles: GUI front end to run Windows software on Linux by michaelmrose on Sunday December 19, 2021 @08:12PM (#29620499)
The protection offered by sandboxing is like using a garbage bag as a bulletproof vest.
Re:Bottles: GUI front end to run Windows software on Linux by MayeulC on Monday December 20, 2021 @04:45AM (#29622926)
You will have to elaborate instead of throwing easy accusations like these. Linux namespaces are pretty tight, and I make sure that flatpaks that need sandboxing have the right sandboxing mechanisms in place.

In order:

1. Filesystem access is one of the most critical pieces (to me). Flatpaks on flathub often restricts this by default, except for a few packages. Portal mechanisms offer on-demand access to external files and folders.

2. X11 access: I use wayland, and make sure the program I'm launching does too. There is a X11-fallback scheme that blocks access to X11 if wayland is being used.

3. Network access: I usually leave it enabled when needed, there is not much to exfiltrate if filesystem isn't accessible, and that's the main threat I'm concerned about.

I am not very concerned with Pulseaudio, pipewire socket or access to select D-Bus paths.

Sure, it is not an air-gapped computer, nor a virtual machine. The attack surface is bigger, but not that much.

Re:Bottles: GUI front end to run Windows software on Linux by michaelmrose on Monday December 20, 2021 @05:04PM (#29630938)
I'm going to go ahead and presume that anyone intending to release a malicious app or compromised update to a non-malicious application has access to a similarly configured system.

They are thereby incentivized to attack via a method that is successful on their test systems. In particular applications set their own initial permissions (can they also update themselves and acquire greater permissions without user input?) and often contain old outdated and potentially insecure known insecure versions of software already patched or updated in distro repos.

If you put up $1000 and offered to install any malicious app on a current fedora gnome default install VM and see if someone could pwn it your money would be gone in a few hours. You could do this once a month between now and 2025 and I would be surprised if you were ever able to retain your money.