Re: WhatsApp Web in Chromium under OpenBSD 7.1

2022-05-10 Thread Federico Giannici

On 5/9/22 20:25, Gleydson Soares wrote:

Now the question is: why WebAssembly is disabled by default under OpenBSD?
Is there any contraindication to activate it?


do you want to run someone else's binary on your browser?

by disabling WebAssembly, the browser will have less shit running to handle 
therefore decreases
the attack surface.

i prefer enabling it carefully and manually where appropriate, if no 
alternative!


Can you tell me how can be enabled for a single site?
I couldn't find any information about it.

Thanks.



Re: WhatsApp Web in Chromium under OpenBSD 7.1

2022-05-09 Thread Bryan Steele
On Mon, May 09, 2022 at 06:50:16PM +0200, Federico Giannici wrote:
> On 5/9/22 18:40, Caspar Schutijser wrote:
> > On Mon, May 09, 2022 at 01:16:15PM +0200, Federico Giannici wrote:
> > > I'm not able to use WhatsApp Web in Chromium under OpenBSD 7.1 (amd64), no
> > > login page appears.
> > > Is there something bad in my configuration or is this a known problem?
> > > Thanks.
> > 
> > That's because by default WebAssembly is not enabled in Chromium (I
> > found out this was the culprit using the Developer Console, there was
> > some error message).
> > 
> > Starting Chromium with ENABLE_WASM=1 in your environment will
> > make it work.
> > 
> > Caspar
> > 
> 
> OK, it worked!
> 
> Now the question is: why WebAssembly is disabled by default under OpenBSD?
> Is there any contraindication to activate it?
> 
> Thanks.

WASM is unusable unless you have user limits set to near infinity,
and having it enabled by default actively broke websites that would
have otherwise worked without it.

https://marc.info/?l=openbsd-ports=154376428820247=2

IMO it was disabled for good reason. An environment variable exists
to override it for the few sites that need it.

I kind of wish this had also happened in Firefox, but that may soon
go in another direction..

-Bryan.



Re: WhatsApp Web in Chromium under OpenBSD 7.1

2022-05-09 Thread Gleydson Soares
> Now the question is: why WebAssembly is disabled by default under OpenBSD?
> Is there any contraindication to activate it?

do you want to run someone else's binary on your browser?

by disabling WebAssembly, the browser will have less shit running to handle 
therefore decreases
the attack surface.

i prefer enabling it carefully and manually where appropriate, if no 
alternative!



Re: WhatsApp Web in Chromium under OpenBSD 7.1

2022-05-09 Thread Federico Giannici

On 5/9/22 18:40, Caspar Schutijser wrote:

On Mon, May 09, 2022 at 01:16:15PM +0200, Federico Giannici wrote:

I'm not able to use WhatsApp Web in Chromium under OpenBSD 7.1 (amd64), no
login page appears.
Is there something bad in my configuration or is this a known problem?
Thanks.


That's because by default WebAssembly is not enabled in Chromium (I
found out this was the culprit using the Developer Console, there was
some error message).

Starting Chromium with ENABLE_WASM=1 in your environment will
make it work.

Caspar



OK, it worked!

Now the question is: why WebAssembly is disabled by default under 
OpenBSD? Is there any contraindication to activate it?


Thanks.



Re: WhatsApp Web in Chromium under OpenBSD 7.1

2022-05-09 Thread Caspar Schutijser
On Mon, May 09, 2022 at 01:16:15PM +0200, Federico Giannici wrote:
> I'm not able to use WhatsApp Web in Chromium under OpenBSD 7.1 (amd64), no
> login page appears.
> Is there something bad in my configuration or is this a known problem?
> Thanks.

That's because by default WebAssembly is not enabled in Chromium (I
found out this was the culprit using the Developer Console, there was
some error message).

Starting Chromium with ENABLE_WASM=1 in your environment will
make it work.

Caspar



Re: WhatsApp Web in Chromium under OpenBSD 7.1

2022-05-09 Thread Maurice McCarthy
At home, once I reconnected to my own wifi the whatsapp QR reader
login came up. After that the linking of Chrome on OpenBSD device went
as expected.

Before the reconnection to wifi there was no login whatsoever.

Good Luck.



WhatsApp Web in Chromium under OpenBSD 7.1

2022-05-09 Thread Federico Giannici
I'm not able to use WhatsApp Web in Chromium under OpenBSD 7.1 (amd64), 
no login page appears.

Is there something bad in my configuration or is this a known problem?
Thanks.