11 Jan 2021 |
problems | it worked fine with app.element.io | 20:07:43 |
stoic | yep, can reproduce. seems like activating for an already logged in account breaks now because the olm pickle key isn't in the system keychain | 20:10:38 |
problems | oh, awesome. glad it's not just me! | 20:11:16 |
stoic | workaround should be logging in with radical-native active | 20:11:24 |
problems | i will try that | 20:11:37 |
problems | yes that works | 20:13:04 |
stoic | good to know | 20:14:33 |
stoic | opened https://github.com/stoically/radical-native/issues/32 | 20:14:41 |
problems | i should eventually figure out about building the webext myself | 20:15:21 |
problems | i'm already building the native part but that's easy | 20:15:42 |
stoic | cool, and good luck! let me know if you hit any roadblocks | 20:16:40 |
stoic | btw, manually creating the correct keychain entry should to also allow enabling while being already logged in | 20:22:07 |
stoic | * btw, manually creating the correct keychain entry should also allow enabling while being already logged in | 20:22:19 |
problems | i wouldn't know how to do that;; | 20:22:52 |
stoic | if you're on linux and have seahorse available ("passwords & keys" in ubuntu), then it's a matter of creating
account: @mxid|deviceid
service: riot.im
password: pickle-key (not sure which one element currently uses if the system keychain isn't available) | 20:26:10 |
problems | ah, i see | 20:28:57 |
stoic | hmmm | 20:32:14 |
problems | how do you package the built radical-native webext as xpi for firefox? | 20:32:34 |
stoic | creating a zip and upload it on AMO | 20:33:29 |
stoic | * creating a zip from the build directory and upload it on AMO | 20:33:39 |
stoic | https://github.com/matrix-org/matrix-react-sdk/blob/983ffe98ff2f59d479a06aa3f504d44c4fd7c102/src/Lifecycle.ts#L388-L399 | 20:33:43 |
stoic | so it seems, when getPickleKey (which in case of RN ends up in the web-ext) returns undefined , everything should work | 20:34:22 |
stoic | ah, there's the bug | 20:35:49 |
stoic | https://github.com/stoically/radical-native/blob/c1216f85a1da9df559217e02b33c90c343348705/native/src/secrets.rs#L29-L36 | 20:35:51 |
problems | is it required to upload to amo for signing if using policies to install? | 20:35:59 |
stoic | in general it's required if you plan to install using a stable firefox version | 20:37:53 |
stoic | you can disable the verification only in beta and nightly versions | 20:38:13 |
stoic | * so it seems, when getPickleKey (which in case of RN ends up in the web-ext) returns falsy, everything should work | 20:38:36 |
stoic | * ah, this might be related | 20:38:52 |
problems | hm | 20:39:18 |