Is anyone using a card reader with the #SConnect plugin from #Gemalto / #Thales on #Firefox?
-
I'll take a look at their javascript to see if there is a version number for the plugin.
-
@leffe Sorry, I missed the part about the add-on.
Googling took me to this page, and I can install the add-on from here? No clue if that helps https://www2.swift.com/3skey/help/browser_support.html
For what it's worth, I can't find any bug about skatteverket in Bugzilla.
-
@leffe Sorry, I missed the part about the add-on.
Googling took me to this page, and I can install the add-on from here? No clue if that helps https://www2.swift.com/3skey/help/browser_support.html
For what it's worth, I can't find any bug about skatteverket in Bugzilla.
Thanks, I'll give it a try later. I don't know if using the addon from a different source will work, but let's see.
The installation page from skatteverket.se goes via Svenska Pass (a printing company with no web presence) through a chain of redirects and obfuscated scripts. No wonder Mozilla blocked it. There is no customer service other than the tax hotline, where the response to my email was "try logging in again tomorrow".
-
@leffe Sorry, I missed the part about the add-on.
Googling took me to this page, and I can install the add-on from here? No clue if that helps https://www2.swift.com/3skey/help/browser_support.html
For what it's worth, I can't find any bug about skatteverket in Bugzilla.
-
-
Did you get to this page? They seem to have an xpi for you to sideload.
-
Something I did made it go a step further. It downloads a script for me to run in a terminal. The script kills any running sconnect process and installs a binary executable in ~/.sconnect/sconnect_host_linux.
It doesn't run the executable though, and even if I do it manually, the extension still says there is no add-on installed, even after a browser restart. The instructions say that the web page will automatically detect the install after running the script, but no. There is a jumping non-clickable text box saying start installation, with an arrow pointing up to the toolbars. So weird.
-
Something I did made it go a step further. It downloads a script for me to run in a terminal. The script kills any running sconnect process and installs a binary executable in ~/.sconnect/sconnect_host_linux.
It doesn't run the executable though, and even if I do it manually, the extension still says there is no add-on installed, even after a browser restart. The instructions say that the web page will automatically detect the install after running the script, but no. There is a jumping non-clickable text box saying start installation, with an arrow pointing up to the toolbars. So weird.
-
Something I did made it go a step further. It downloads a script for me to run in a terminal. The script kills any running sconnect process and installs a binary executable in ~/.sconnect/sconnect_host_linux.
It doesn't run the executable though, and even if I do it manually, the extension still says there is no add-on installed, even after a browser restart. The instructions say that the web page will automatically detect the install after running the script, but no. There is a jumping non-clickable text box saying start installation, with an arrow pointing up to the toolbars. So weird.
Those instructions are for installing the native host. It's the executable that the browser extension knows how to connect to.
On the page I posted, there's an xpi. I would expect that you download that and side-load it via the FF extensions page. Might require developer mode for that.
That's the way similar projects that I've used work. A side-loaded xpi that connects to a local executable.
The arrow might point to your bookmarks. So maybe check if you have new bookmarks?
-
Those instructions are for installing the native host. It's the executable that the browser extension knows how to connect to.
On the page I posted, there's an xpi. I would expect that you download that and side-load it via the FF extensions page. Might require developer mode for that.
That's the way similar projects that I've used work. A side-loaded xpi that connects to a local executable.
The arrow might point to your bookmarks. So maybe check if you have new bookmarks?
I should have mentioned that it did install an extension also. Should Firefox start the host? So far it doesn't. I see that a json file with the path was added to ~/.mozilla/native-messaging-hosts. Maybe it should be moved down into ~/.mozilla/firefox/native-messaging-hosts? I'll try that tomorrow.
No new bookmark, as far as I can see.
-
I should have mentioned that it did install an extension also. Should Firefox start the host? So far it doesn't. I see that a json file with the path was added to ~/.mozilla/native-messaging-hosts. Maybe it should be moved down into ~/.mozilla/firefox/native-messaging-hosts? I'll try that tomorrow.
No new bookmark, as far as I can see.
The extension should talk to the native host, either when you navigate to a web site that knows how to use it, or when you click on the extension (if you've pinned it).
The JSON file is probably in the correct place. It probably is the manifest.json?
There's a value inside the manifest.json that should match the id of the extension in the extension details for your extension.
I'm assuming that you already have an application on your machine that uses Sconnect?
-
The extension should talk to the native host, either when you navigate to a web site that knows how to use it, or when you click on the extension (if you've pinned it).
The JSON file is probably in the correct place. It probably is the manifest.json?
There's a value inside the manifest.json that should match the id of the extension in the extension details for your extension.
I'm assuming that you already have an application on your machine that uses Sconnect?
-
If you open up the .json file with a file editor there will probably be a path attribute with a file path to the executable you mentioned earlier. You can check that they match.
My ~/.mozilla/native-messaging-hosts actually has two files in it (one for keepass, and another for a tiddlywiki adjunct.) Both of them have path attributes.
You might also check that the executable isn't 0 bytes and that it has appropriate rights and ownership.
-
If you open up the .json file with a file editor there will probably be a path attribute with a file path to the executable you mentioned earlier. You can check that they match.
My ~/.mozilla/native-messaging-hosts actually has two files in it (one for keepass, and another for a tiddlywiki adjunct.) Both of them have path attributes.
You might also check that the executable isn't 0 bytes and that it has appropriate rights and ownership.
The json and the executable look good, but the extension doesn't pick it up. It says "No addon installed". This is after restarting Firefox.
When I click on the extension icon, I get an error in the console:
can't access property "messageManager", target is null ExtensionParent.sys.mjs:75:42
This is in function verifyActorForContext(actor, context) {
...
let target = actor.browsingContext.top.embedderElement;I am not familiar with extensions, but I could try to run debug on this to see where it is called from.
-
The json and the executable look good, but the extension doesn't pick it up. It says "No addon installed". This is after restarting Firefox.
When I click on the extension icon, I get an error in the console:
can't access property "messageManager", target is null ExtensionParent.sys.mjs:75:42
This is in function verifyActorForContext(actor, context) {
...
let target = actor.browsingContext.top.embedderElement;I am not familiar with extensions, but I could try to run debug on this to see where it is called from.
-
-
Did you actually uninstall the old snap version? It feels like it's still being boxed in.
Unfortunately, when I hit situations like this, I usually ended up using Chrome or some other browser for whatever service I needed. For some reason Chrome wasn't distributed in a snap. The problem with Chrome was that eventually the packager for Alphabet stopped updating the distribution, even if you were using the long term kit.
-
Did you actually uninstall the old snap version? It feels like it's still being boxed in.
Unfortunately, when I hit situations like this, I usually ended up using Chrome or some other browser for whatever service I needed. For some reason Chrome wasn't distributed in a snap. The problem with Chrome was that eventually the packager for Alphabet stopped updating the distribution, even if you were using the long term kit.
I had disabled Firefox in snap, but I have now removed it completely, and restarted again. No difference, unfortunately.
My whole reason for this exercise is to see if it's possible to access banks and authorities here without depending on Google, Apple, or Microsoft. I feel that I am close, but right now I'm struggling with debugging the extension. I'll continue tomorrow or during the weekend.
-
undefined oblomov@sociale.network shared this topic on