Horribly broken awp package #37
Comments
|
What is this abomination postinst script I am seeing there? Otherwise I'd ask about the missing reference to my script, but that thing just doesn't make any sense. sudo apt install in postinst? I see that person doesn't have any clue about package management? Also creating nssdb there won't make any sense since this will be running as root user and root user shouldn't run Chrome anwyay. Great job Idemia or whoever compiled the package. Not only did they infringe copyright but also made themselves look like total asses in the process as well |
|
Is there any source for this blob? I can't seem to find any Linux support on IDEMIA homepage. Was this built by RIA? |
|
OT probably refers to Oberthur (pre-IDEMIA). For Latvia, this is what was given at some point: https://github.com/eid-lv but that does not seem to have anything to do with awp (there is a half-baked fork of OpenSC in that jar). Googline for "oberthur awp" gives for example this document: http://nortemedico.pt/middleware/AWP_5.2_FAQ.pdf which makes me believe this is a full-blown product by itself. I doubt there will be any source with it. Nor do I think I want to install this binary blob either. |
|
Extracted extractable parts of it for inspection here: https://github.com/martinpaljak/awp_5.3.0.18.04.75_amd64.deb |
|
Looking at that content:
I make the following aww-ssumptions:
For those who have a system that fails to install packages and would still just like to have the filesavailable on the system without a broken package, the following should do the trick:
After what |
|
Thank you for all that information. Best Regards |
|
Any updates? |
|
Can you please give update or estimate? |
|
Please add it to top of file
Please do not do as indicated in this: open-eid/DigiDoc4-Client#435 post, because sometimes username and home directory location do not match. It is better to grep $HOME location for $SUDO_USER from /etc/passwd as I described in first part of my post. |
|
Maybe the right path for getting this noticed and fixed is with the "upstream" and https://github.com/martinpaljak/awp_5.3.0.18.04.75_amd64.deb/blob/master/DEBIAN/control#L9 or https://twitter.com/IdemiaGroup |
|
On my computer Firefox have not seen Idemia PKCS11 module until I copied idemiapkcs11firefox.json to ~/.mozilla/pkcs11-modules/ directory. According to https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Native_manifests martinpaljak did detailed analysis of this package |
|
"awp" dependency is removed now: https://github.com/open-eid/linux-installer/pull/49/files |
To make #36 more understandable and/or actionable, here's a small lintian report:
Also, the file contained in
./usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/{2F45F62B-CF18-414D-AC42-47F3D67F468B}.xpiseems to be the same as https://github.com/open-eid/firefox-pkcs11-loader/blob/master/webextension/background.js which, as the header in the file nicely tells, is licensed under LGPL. Given the error in the package lint above (E: awp: no-copyright-file) makes one question about the license of the whole package and/or necessary crediting (./DEBIAN/postinstof the package looks very much like a trimmed version of https://github.com/open-eid/linux-installer/blob/master/esteid-update-nssdb, licensed under MIT. Re-use is OK, as long as attribution rules are followed).In any case, this package should have not been published in the first place, as it seems to lack any basic QA and sanity checks. I'm sure there are tools that take the idea of "unwrap this targzip to folder X and execute X/script.sh after installation" and produce a sane package file🤔
The text was updated successfully, but these errors were encountered: