openbullet / OpenBullet2

OpenBullet reinvented
https://docs.openbullet.dev/
MIT License
1.66k stars 458 forks source link

[Bug]: Api sharing #1034

Closed Mert-Zengin closed 9 hours ago

Mert-Zengin commented 1 week ago

Version of the software

3.0.0

Operating system

Ubunut 24.00

Browser / Native

Firefux

What happened?

A bug happened!

On Sharing option when i select get random api key didn't made anything and i see on console "crypto.UUID not a function"

Relevant LoliCode if needed

No response

openbullet commented 1 week ago

Thanks for this. I overlooked the fact that crypto.UUID is only available in HTTPS contexts (which is what I used when developing, through a self-signed certificate). I will fix this in version 0.3.1.

Reference: https://developer.mozilla.org/en-US/docs/Web/API/Crypto/randomUUID