databag icon indicating copy to clipboard operation
databag copied to clipboard

Update `react-native-webrtc`

Open licaon-kter opened this issue 2 years ago • 15 comments

......to fix CVE-2023-5217: Heap buffer overflow in vp8 encoding in libvpx

Wait on upstream: https://github.com/react-native-webrtc/react-native-webrtc/issues/1480

licaon-kter avatar Nov 21 '23 10:11 licaon-kter

thanks for the heads up

balzack avatar Nov 21 '23 19:11 balzack

I'm about to publish a release with the updated react-native-webrtc, but I am seeing this error in my local build:

2024-03-12 19:38:34,445 ERROR: Unused scanignore path: app/mobile/node_modules/react-native-webrtc 2024-03-12 19:38:34,445 ERROR: Could not build app com.databag: Can't build due to 1 error while scanning

The build succeeds without that line, but I don't understand why that line is no longer needed. Should I submit a PR to remove that scanignore?

balzack avatar Mar 12 '24 19:03 balzack

Do that, will look at the CI output then.

licaon-kter avatar Mar 12 '24 20:03 licaon-kter

Should I remove the scanignore on the last built version in the yml ...or publish a new release, allow the build to fail, and do the PR on that failed version yml?

balzack avatar Mar 12 '24 21:03 balzack

Don't edit an already built version. Open a MR with a new build block, or if on autoupdate and if updated, with a one-line fix.

licaon-kter avatar Mar 12 '24 21:03 licaon-kter

I opened a MR with a new build block. I apologize if I missed something obvious. Thank you for your help.

balzack avatar Mar 12 '24 22:03 balzack

@licaon-kter is there any concern with me adding http support:

  android:usesCleartextTraffic="true"

Several people have requested that I support IP based addressing for communication over their LAN. The above line would need to be added to the AndroidManifest.xml

balzack avatar May 04 '24 19:05 balzack

It's not, but it's discouraged... :(

licaon-kter avatar May 04 '24 19:05 licaon-kter

Sounds good. I will leave it off and inform the users that it's not supported. If they really really want it, I can make an APK available for them. Thanks for keeping fdroid awesome!

balzack avatar May 05 '24 00:05 balzack

I mean, self-signed does not work? That's half way there, not cleartext but no need for CAs and etc.

licaon-kter avatar May 05 '24 08:05 licaon-kter

I think that might work, but I don't imagine it's easy to load the self-signed cert into the phone OS to establish trust with that server.

balzack avatar May 06 '24 03:05 balzack