Mageia Bugzilla – Bug 983
fribid, open source e-identification with the Bank ID (Swedish)
Last modified: 2016-10-14 05:30:24 CEST
Description of problem: "FriBID is an open source for e-identification with the Bank ID. This means that the source code is available for anyone to study, copy and improve. FriBID is not yet a full replacement for the official program, but on the other hand, support for other processor types and Linux / BSD distributions than BankID Security."
Translation of Swedish statement on http://fribid.se/
Version-Release number of selected component (if applicable): 0.3.0
Here's the source-code: http://fribid.se/releases/source/fribid-0.3.0.tar.bz2
We still don't have the package
I'll upload the packages for it on fribid.se soon.
Created attachment 930 [details]
mozilla-filesystem is needed as a dep for fribid
Created attachment 931 [details]
Debug-package for fribid
Created attachment 932 [details]
I'll add the i586-versions soon.
the spec are more useful ;)
Created attachment 933 [details]
What's goin' on with this?
Created attachment 1080 [details]
Here's the latest rpm built by fribid.spec
Created attachment 1081 [details]
Here's the latest debug-package built by fribid.spec
Created attachment 1082 [details]
Here's the lastest fribid.spec
Created attachment 1083 [details]
Here's the SRPM built by fribid.spec
GREAT! Tack Kristoffer!
I will try it next week when installing mageia on my wifes computer.
OK, could not hold my horses ;)
In a fully updated mga1 64 bit KDE with Firefox 8.0.1:
Installed the rpm in att 1080, and it pulled in the PKCS module from mga repo too.
Restarted Firefox and went to bank login @ sparbankensyd.se
First it just threw up another portal window, and i verified that the PKCS module is listed in Firefox Edit>Settings>Advanced>Encryption>Modules (or what it is in english), Klicked two times more om login and now a login dialog appeared. Hooray!
(Also the proprietary BankID have sililar quirks on mandriva 2010.x 32 bit...)
Next i will attempt to copy keys over, the direct file copying method i wrote here:
I forgot to mention that the rpm installation ended saying "nspluginwrapper: no appropriate viewer found for /usr/lib64/mozilla/plugins/libflashplayer.so" but i have no idea what it means.
I copied over the whole ~/cbt folder from the mandriva system, and when i got the dialog i pointed it to the .p12 file, and it displayed the right key name, and we typed keyword.... But the bank say login failed (no specific error code).
I was just guessing the whole procedure, as i could not find instructions anywhere. Is there - where? Should I make something differently?
Ideas? (Except I will shut down, wait and retry in a while)
Doh, my fault!
I forgot i have a half year ago myself upgraded the other system to use newer bankID version that stores the current keys in another folder in another format, (as i wrote in that link) known to be incompatible with fribid, and we invalidated the old .p12 keys in the bank system then...
So we have to ask the bank for the one time login method to get an initial bankID, to create one fresh. May take a while, will report back.
So far no problems with fribid itself; OK install, OK response at test site https://test.bankid.com (it say a newer version is available but they have not let a single 64 bit version out...)
Will be interesting to see if it suceed to retrieve, store, manage keys and login with them.
Test: Fribid is OK :)
Please put in repo, and also 32 bit version!
Install on mga1 x86_64: just urpmi the rpm in https://bugs.mageia.org/show_bug.cgi?id=983#c11 and restart Firefox (tested 8.0.1)
Create BankID key OK @ sparbankensyd.se (my bank): OK
Pass test @ test.bankid.com (manufacturer of proprietary version, and host side that banks etc use) OK (but say later version exists)
skatteverket.se (tax authority): Perfectly OK
minavardkontakter.se (health care): Perfectly OK
( And my bank is stupid again (before it did not accept recent Firefox, now
it demands latest proprietary BankID version - though it is not released for 64 bit linux. I will note it to them )
Reported sucess to developers
And reported fail to my bank for blocking the only working solution.
New version out: http://www.fribid.se/releases/source/fribid-1.0.0.tar.bz2
If new, are you sure that is the last one?
Changelog inside it say 2011-09-25
The same I already installed for the test above.
(In reply to comment #22)
> If new, are you sure that is the last one?
> Changelog inside it say 2011-09-25
> The same I already installed for the test above.
Affirmative. Even the github CHANGELOG-file tells you the same.
I'd be happy to build the spec for the new version if asked to do so.
Remember that if you deside to build your own package you need to install opensc libopensc-devel libp11_1.
Created attachment 1644 [details]
Here's the latest spec
This spec is built for x86_64 so use it only if you have 64-bit computer.
Created attachment 1645 [details]
Here's the latest version of fribid built from Source-RPM
Created attachment 1646 [details]
Here's the latest debug-version of fribid built from Source-RPM
Created attachment 3174 [details]
Here's the latest version that I built
Thank you :)
(In reply to comment #29)
> Thank you :)
And it still works?
Sorry for the delay.
Unfortunately I can not test as FriBid do not yet (according to web site) support the newer key format that i have been forced to use due to the newer official application thet my bank enforce i use store in the new format and my old keys have expired.
But i thank you for pushing the latest version that exist, on behalf of people who might find it useful :)
Any other Swede that can confirm that my new version works so it can be pushed?
Created attachment 4505 [details]
Latest version of fribid
Created attachment 4506 [details]
Latest debug-build of fribid
(In reply to Kristoffer Grundström from comment #34)
> Created attachment 4506 [details]
> Latest debug-build of fribid
This is for x86_64 thou.
(In reply to Kristoffer Grundström from comment #33)
> Created attachment 4505 [details]
> Latest version of fribid
This is for x86_64 thou.
Created attachment 4507 [details]
Installed and used the above package for a wile, but with the latest update of chomium an firefox Fribid dont show up anymore.
latest version is 1.0.4
Is there anyone updating the package?
(In reply to Pedro Blom from comment #38)
> Is there anyone updating the package?
As it's not in Mageia repos, probably not one of the Mageia packagers. Also you didn't mention what exactly breaks - maybe someone disabled some old SSL protocols on the server side due to the recent Poodle SSLv3 issue?
Did you get in touch with fribid authors/developers to try to find out what the issue is?
Assigning to the new default assignee for package requests.
Created attachment 8533 [details]
Compilation log file
Created attachment 8534 [details]
New version of the spec file
I could be wrong, but it looks like an upstream bug to me. Am I wrong?
That's weird. If I download the source code (which I think is the same as in the tar.gz that I compiled with I get no failed compilation.
The only errors I get when trying to build with rpmbuild -ba fribid.spec are theese:
Invalid option: noarch-mageia-linux-gnu
Invalid option: --program-prefix=
error: Bad exit status from /var/tmp/rpm-tmp.n0xxyr (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.n0xxyr (%build)
How can I solve them?
(In reply to Kristoffer Grundström from comment #44)
> That's weird. If I download the source code (which I think is the same as in
> the tar.gz that I compiled with I get no failed compilation.
I cloned their github repo.