ID-card English

0 häält
3,522 vaatamist
Hi everyone,

I am migrating the neigbours' pc from Windows XP to Linux Mint 13 "Maya" xfce, but I am running into trouble getting the ID-card software to work.

Mint 13 is based on Ubuntu 12.04, but there seems to be some difference in kernels (I hope I say that right - see http://forums.linuxmint.com/viewtopic.php?p=819016#p819016).

I have followed the instructions on http://id.ee/index.php?id=34305, but no luck.

Could anyone help me out by providing me with step-by-step instructions for Mint 13 (or by pointing me to the right instructions, if they are already there)?

Many thanks!

Steven
küsitud 12. apr 2014 kategoorias Tarkvara - Steven (0 punkti)

2 vastust

0 häält

https://installer.id.ee/?lang=eng

Ubuntu 12.04, 13.10, ..  is Linux today, not Mint. ;)

vastatud 12. apr 2014 - rastik (0 punkti)
0 häält

In that script, line 5 you have something like this:

OPSYS=$(cat /etc/lsb-release | grep CODENAME= | sed -e 's/DISTRIB_CODENAME=//')

When you use Mint, it detects OPSYS variable as maya which is what mint 13 is called. Obviously there is no such repo for mint and the script returns an error. Luckily mint is based on ubuntu, so you only need to modify that script a little. Replace that line I mentioned with this one:

OPSYS=precise

Save the file and execute it with

sudo sh install-esteid-ubuntu.sh

If everything went well you should be able to use our ID-card software.

avatar vastatud 12. apr 2014 - mihkel (1 punkt)
Thank you - that seems to have gotten me a bit further.

However, on the test page, the cute little guy tells me he couldn't find my ID-card.

The card is in the reader - an Omnikey Cardman 1021. As far as I can tell, it is installed correctly.

What should I try next?
There are a few things you should check.
1. Open up qesteidutil and see if it detects your smart card reader and reads information from the card.
2. Check that pcscd service is running.
3. I assume that you use firefox as your browser. Go to Tools -> Add-ons -> Extensions and check that Estonian ID-card authentication module is enabled. Then click on plugins and check that Esteid Plugin is activated.
Numbers 2 and 3 are ok - pcdsd is running and all is well in Firefox.

qesteidutil however tells me that there is no card reader detected. In the terminal, the message "Virtual void QSmartcard::run () PSCSManager failure" appears.

The utility itself tells me the following:

Locale (time-, number format / codepage): English / en_US.UTF-8

Base version: 3.8.0.1398-ubuntu-12-04
Application version: 3.8.0.1106
OS: Linux Mint 13 Maya
CPU: AMD Athlon(tm) II X2 240e Processor
Kernel: Linux 3.2.0-60-generic #91-Ubuntu SMP Wed Feb 19 03:55:18 UTC 2014 i686

Arguments: qesteidutil
Library paths: /usr/lib/i386-linux-gnu/qt4/plugins;/usr/bin
Libraries:
libdigidoc2 (3.8.0.1133-ubuntu-12-04)
libdigidocpp0 (3.8.0.1208-ubuntu-12-04)
qdigidoc (3.8.1.1250-ubuntu-12-04)
qesteidutil (3.8.0.1106-ubuntu-12-04)
openssl (1.0.1-4ubuntu5.12)
libpcsclite1 (1.7.4-2ubuntu2)
opensc (0.12.2-2ubuntu2-1-ubuntu-12-04)
QT (4.8.1)

Smart Card service status: Running
Card readers:
No readers found

Browsers:
chromium-browser (33.0.1750.152-0ubuntu0.12.04.1~pkg879.1)
firefox (28.0+build2-0ubuntu0.12.04.1)

USB info:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 004: ID 076b:1021 OmniKey AG CardMan 1021
Bus 002 Device 005: ID 045e:0084 Microsoft Corp. Basic Optical Mouse
I've never encountered an error message like that. Do you have another reader to try with. Maybe that smart card reader is faulty.... or did it worked in windows? I really am out of ideas right now :(
The reader worked in Wondows, so that should not be the problem.

Is there another distro that is sure to work with the card reader? I can install another flavour of linux - as long as it is supported by the hardware (2 Gigs Ram). I also prefer xfce (as that has a look that is closer to WinXP).
Reading pingviin.org forum, mint 13 is reported to work fine with RIA ID-card software, so I really doubt that changing distro would help. Core problem must be somewhere else, but if you insist changing a distro, then I would recommend ubuntu or mageia. Ubuntu is directly supported by RIA and mageia has esteid in its repos and is installed when you choose Estonian language during installation process.
I use Fedora and I'm currently in process of pushing that software into Fedora repos. It is going SLOW :)
Meanwhile I provide copr repo (like PPA in ubuntu)
http://copr.fedoraproject.org/coprs/mihkel/esteid/
You can install xfce in any distro.

BUT, as I already mentioned, I don't think that changing a distro helps. If I were you, I'd borrow another reader from someone first and then try other distros.
I have tried three readers by now, so I'm pretty sure that is not the issue.

I'll try with a clean install and then installing the ID-card software first. If that doesn't help, I'll move to Mint 16 "Petra", which is not an LTS.

Thanks for your help!
Using Ubuntu landed me the same problem.

Can this have something to do with the fact that this is a dual boot with WinXP?
Steven, what's th output of this command:
dpkg -l opensc*
P.S dualboot is not the issue in here.
Hi Imre,

The output of that is:

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                      Version                   Description
+++-=========================-=========================-==================================================================
ii  opensc                    0.12.2-2ubuntu2-1-ubuntu- Smart card utilities with support for PKCS#15 compatible cards
I do not understand why exactly, but now it works (Mint 13 "Maya", based on Ubuntu 12.04 "precise").

The only thing I did differently is to allow "unsafe" updates, in a bid to get the newest Ubuntu stuff. Previously, I had only applied the "safe" updates.

Mint adds a safety level to updates (1 to 5). 4 and 5 are not marked by default. Ubuntu does not make that distinction, so I figured it was safe enough to mark them anyway.

What made me try that is that Mint 16 "Petra" (based on Ubuntu 13-10 "saucy") did work out of the box.

The next thing on my wishlist would be to add ID-card functionality to Chrome, if that is at all possible.

Thank you all for your time and your help!
...