{"id":8907,"date":"2023-09-23T19:45:07","date_gmt":"2023-09-23T17:45:07","guid":{"rendered":"https:\/\/linux-bibel.at\/?p=8907"},"modified":"2023-09-23T19:45:09","modified_gmt":"2023-09-23T17:45:09","slug":"hibiscus-homebanking-anwendung-mit-kartenleser-unter-manjaro","status":"publish","type":"post","link":"https:\/\/linux-bibel.at\/index.php\/2023\/09\/23\/hibiscus-homebanking-anwendung-mit-kartenleser-unter-manjaro\/","title":{"rendered":"Hibiscus &#8211; Homebanking-Anwendung (mit Kartenleser) unter MANJARO"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>Diese Anleitung wurde entwickelt mit gro\u00dfer Unterst\u00fctzung von\u00a0@josefine;<br>ohne ihre wertvollen Hinweise und Tipps w\u00e4re die L\u00f6sung niemals entstanden. Danke daf\u00fcr!<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/www.willuhn.de\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Hibiscus<\/strong><\/a>&nbsp;ist eine Open-Source &#8211; Homebanking-Anwendung entsprechend dem deutschen&nbsp;<a href=\"https:\/\/de.wikipedia.org\/wiki\/Financial_Transaction_Services\" target=\"_blank\" rel=\"noreferrer noopener\">FinTS<\/a>-Standard. Als Plattform dient die freie Laufzeit-Umgebung Jamaica f\u00fcr Java-Anwendungen, die in Form von Plug-ins implementiert werden k\u00f6nnen.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>1. Installation Java<\/strong><br>F\u00fcr Jamaica wird eine vorinstallierte Java-Umgebung erwartet; dies wird gepr\u00fcft mit:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ java -version<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Ein Ergebnis \u00e4hnlich diesem<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ java -version\nPicked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=gasp\nopenjdk version \"19.0.2\" 2023-01-17\nOpenJDK Runtime Environment (build 19.0.2+7)\nOpenJDK 64-Bit Server VM (build 19.0.2+7, mixed mode)\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">zeigt, dass eine Java-Umgebung (in diesem Fall 64-Bit) installiert ist und kann genutzt werden kann. Ist Java nicht installiert, kann dies mit dem Suchbegriff&nbsp;<strong><em>jre-openjdk<\/em><\/strong>&nbsp;\u00fcber die PAMAC-Paketverwaltung erledigt werden.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>2. Installation Jameica<\/strong><br>Aktuelle Versionen von Jameica gibt es neben Windows, OS X und OpenBSD eben auch f\u00fcr Linux. Neben 64 Bit werden auch noch \u00e4ltere 32 Bit und ARM-Systeme unterst\u00fctzt.<br>Download Jamaica&nbsp;<a href=\"https:\/\/www.willuhn.de\/products\/hibiscus\/download.php\" target=\"_blank\" rel=\"noreferrer noopener\">von Willuhn.de<\/a><br>Nach Auswahl des dem lokalen System entsprechenden Logos die&nbsp;<a href=\"https:\/\/www.willuhn.de\/products\/hibiscus\/download.php\" target=\"_blank\" rel=\"noreferrer noopener\">Anleitungen<\/a><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>die ZIP-Datei lokal speichern &#8230;<\/li>\n\n\n\n<li>&#8230; und mit Root-Rechten entpacken nach \/opt\/jameicaCODE:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code><code>$ sudo unzip \"\/mnt\/Daten\/jameica-linux64-#.##.#.zip\" -d \/opt $ cd \/opt\/jameica $ .\/jameica.sh # Jameica starten<\/code><\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>3. Installation Hibiscus und Datenverzeichnisse<\/strong><br>Siehe Anleitung &#8222;Installiere Hibiscus&#8220; und &#8222;Bank-Zugang einrichten&#8220;<br>Hinweise zu den genutzen Datenverzeichnissen und &#8211; falls gew\u00fcnscht &#8211; einem individuellen Datenverzeichnis f\u00fcr Konten-Einstellungen, Buchungen, \u00dcberweisungen bzw. \u00dcberweisungs-Vormerkungen:<br><a href=\"https:\/\/www.willuhn.de\/wiki\/doku.php?id=support:backup\" target=\"_blank\" rel=\"noreferrer noopener\">Hibiscus nutzt diese Verzeichnisse<\/a>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Programmverzeichnis, z.B. \/opt\/jameica<br>hier werden grunds\u00e4tzlich keine Benutzerdaten (Konten, Einstellungen, Ums\u00e4tze etc) gespeichert<\/li>\n\n\n\n<li>Benutzerverzeichnis, z.B. \/mnt\/Daten\/&#8230;Banking<br>Abweichendes Benutzerverzeichnis statt \/home\/BenutzerNsme\/.jameica definieren;&nbsp;<a href=\"https:\/\/www.willuhn.de\/wiki\/doku.php?id=support:faq#abweichendes_benutzerverzeichnis_nutzen\" target=\"_blank\" rel=\"noreferrer noopener\">Quelle<\/a><br>Benutzerdaten werden so im Verzeichnis \/mnt\/Daten\/&#8230;Banking\/.jameica\u201c gespeichert.<br>Kontrolle: Es darf kein Verzeichnis \/home\/BenutzerName\/.jameica entstehen<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>4. Installationen f\u00fcr Kartenleser<\/strong><br>Genutzt wird ein Kartenlesers (hier: REINER TANjackBluetooth (<a href=\"https:\/\/www.reiner-sct.com\/ccsdata\/documentDownload.pdf?documentId=77305248\" target=\"_blank\" rel=\"noreferrer noopener\">Datenblatt<\/a>)).<br>Hinweis: Trotz des Namens &#8230;Bluetooth funktioniert der Kartenleser unter LINUX nicht per Bluetooth, jedoch per USB-Kopplung; hierf\u00fcr sind folgende Pakete zu installieren bzw. zu konfigurieren:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>&#8212; ccid installierenCODE:\u00a0<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code><code>sudo pacman -S ccid Pakete (1) ccid-1.5.2-1 Gesamtgr\u00f6\u00dfe des Downloads: 0,08 MiB Gesamtgr\u00f6\u00dfe der installierten Pakete: 0,24 MiB :: Post-transaction-Hooks werden gestartet \u2026 (1\/2) Reloading device manager configuration... (2\/2) Arming ConditionNeedsUpdate...<\/code><\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>&#8212; pcsc-tools installierenCODE:\u00a0<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code><code>sudo pacman -S pcsc-tools Pakete (3) glib-perl-1.329.3-3 pcsc-perl-1.4.14-13 pcsc-tools-1.6.0-1 Gesamtgr\u00f6\u00dfe des Downloads: 0,45 MiB Gesamtgr\u00f6\u00dfe der installierten Pakete: 1,28 MiB ... Optionale Abh\u00e4ngigkeiten f\u00fcr pcsc-tools perl-gtk3: gscriptor :: Post-transaction-Hooks werden gestartet \u2026 (1\/2) Arming ConditionNeedsUpdate... (2\/2) Warn about old perl modules<\/code><\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>pcsd startenCODE:\u00a0<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code><code>$ sudo systemctl start pcscd $ systemctl status pcscd \u25cf pcscd.service - PC\/SC Smart Card Daemon Loaded: loaded (\/usr\/lib\/systemd\/system\/pcscd.service; indirect; preset: disabled) Active: active (running) ...<\/code><\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Mit PAMAC installieren: pcsc-cyberjack (AUR)<\/li>\n\n\n\n<li>Neustart und &#8230;CODE:\u00a0<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code><code>$ systemctl status pcscd \u25cb pcscd.service - PC\/SC Smart Card Daemon Loaded: loaded (\/usr\/lib\/systemd\/system\/pcscd.service; indirect; preset: disabled) Active: inactive (dead) TriggeredBy: \u25cb pcscd.socket Docs: man:pcscd(8) $ sudo systemctl start pcscd $ systemctl status pcscd \u25cf pcscd.service - PC\/SC Smart Card Daemon Loaded: loaded (\/usr\/lib\/systemd\/system\/pcscd.service; indirect; preset: disabled) Active: active (running) ...<\/code><\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Pr\u00fcfung: Nach dieser Installation soll existiertenCODE:\u00a0<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code><code>\/usr\/lib\/pcsc\/drivers\/ifd-ccid.bundle\/Contents\/Info.plist (als Verweis auf \/etc\/libccid_Info.plist<\/code><\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Konfigurationsdatei erweitern;\u00a0<a rel=\"noreferrer noopener\" href=\"https:\/\/matrica.de\/wiki\/index.php\/CCID_Chipkartenleser_unter_Linux#Konfigurationsdatei_erweitern\" target=\"_blank\">Quelle<\/a><br>Original-Version vorher sichern! CODE:\u00a0<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code><code>$ cp \/etc\/libccid_Info.plist \/home\/meinName\/SICHERlibccid_Info.plis<\/code><\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Daten des Kartenlesers ermitteln:CODE:\u00a0<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code><code>$ lsusb Bus 004 Device 005: ID 0c4b:0520 Reiner SCT Kartensysteme GmbH tanJack BT n1h5a Hersteller-ID (ifdVendorID): 0c4b Produkt-ID (ifdProductID): 0520 Bezeichnung (ifdFriendlyName): Reiner SCT Kartensysteme GmbH tanJack BT n1h5a<\/code><\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Datei \/etc\/libccid_Info.plist editieren und hinzuf\u00fcgen (mit Pr\u00e4fix 0x (Kennzeichen Hexadezimalzahl)):CODE:\u00a0<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code><code>&lt;key>ifdVendorID&lt;\/key> # vorhanden &lt;array> # vorhanden &lt;string>0x0c4b&lt;\/string> # neue Zeile! &lt;key>ifdProductID&lt;\/key> # vorhanden &lt;array> # vorhanden &lt;string>0x0520&lt;\/string> # neue Zeile! &lt;key>ifdFriendlyName&lt;\/key> # vorhanden &lt;array> # vorhanden &lt;string>Reiner SCT Kartensysteme GmbH tanJack BT n1h5a&lt;\/string> # neue Zeile!<\/code><\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>pcscd dauerhaft startenCODE:\u00a0<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code><code>$ systemctl status pcscd \u25cb pcscd.service - PC\/SC Smart Card Daemon Loaded: loaded (\/usr\/lib\/systemd\/system\/pcscd.service; indirect; preset: disabled) Active: inactive (dead) TriggeredBy: \u25cb pcscd.socket Docs: man:pcscd(8) $ sudo systemctl enable --now pcscd # Dienst dauerhaft aktivieren und starten Created symlink \/etc\/systemd\/system\/sockets.target.wants\/pcscd.socket \u2192 \/usr\/lib\/systemd\/system\/pcscd.socket.<\/code><\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>NeustartCODE:\u00a0<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code><code>$ systemctl status pcscd \u25cf pcscd.service - PC\/SC Smart Card Daemon Loaded: loaded (\/usr\/lib\/systemd\/system\/pcscd.service; indirect; preset: disabled) Active: active (running) since ..<\/code><\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Automatisches Abschalten des pcsc-Dienstes deaktivieren,\u00a0<a rel=\"noreferrer noopener\" href=\"https:\/\/matrica.de\/wiki\/index.php\/Cyberjack#Automatisches_Abschalten_des_pcsc-Dienstes_deaktivieren\" target=\"_blank\">Quelle<\/a><br>Original-Version vorher sichern!CODE:<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u00a0<code>cp \/lib\/systemd\/system\/pcscd.service \/home\/meinName\/SICHERpcscd.service <\/code>Datei \/lib\/systemd\/system\/pcscd.service editieren!CODE:\u00a0<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code><code>$ sudo systemctl daemon-reload # \u00c4nderung aktivieren $ systemctl status pcscd \u25cb pcscd.service - PC\/SC Smart Card Daemon Loaded: loaded (\/usr\/lib\/systemd\/system\/pcscd.service; indirect; preset: disabled) $ sudo systemctl start pcscd # Dienst starten $ systemctl status pcscd \u25cf pcscd.service - PC\/SC Smart Card Daemon Loaded: loaded (\/usr\/lib\/systemd\/system\/pcscd.service; indirect; preset: disabled) Active: active (running) since ...<\/code><\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>NEUSTARTCODE:\u00a0<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code><code>$ systemctl status pcscd \u25cb pcscd.service - PC\/SC Smart Card Daemon Loaded: loaded (\/usr\/lib\/systemd\/system\/pcscd.service; indirect; preset: disabled) Active: active (running) since ...<\/code><\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>5. Erkennung des Kartenlesers testen und in Hibiscus definieren<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Erkennung des Kartenlesers testen:CODE:\u00a0<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code><a href=\"https:\/\/www.linux-bibel-oesterreich.at\/viewtopic.php?t=1402#\">ALLES AUSW\u00c4HLEN<\/a><code>$ lsusb # Leser mit Karte vorher anschlie\u00dfen Bus 004 Device 002: ID 058f:9540 Alcor Micro Corp. AU9540 Smartcard Reader Bus 004 Device 003: ID 0c4b:0520 Reiner SCT Kartensysteme GmbH tanJack BT n1h5a $ pcsc_scan Using reader plug'n play mechanism Scanning present readers... 0: REINER SCT tanJack Bluetooth (0017471450) 00 00 1: Alcor Micro AU9540 01 00 Tue Mar 7 16:20:04 2023 Reader 0: REINER SCT tanJack Bluetooth (0017471450) 00 00 Event number: 0 Card state: Card inserted, ATR: 3B FF 11 00 FF 81 31 FE 95 80 F9 D2 76 00 00 25 54 44 01 00 83 00 00 00 A0 ATR: 3B FF 11 00 FF 81 31 FE 95 80 F9 D2 76 00 00 25 54 44 01 00 83 00 00 00 A0 + TS = 3B --> Direct Convention + T0 = FF, Y(1): 1111, K: 15 (historical bytes) TA(1) = 11 --> Fi=372, Di=1, 372 cycles\/ETU 10752 bits\/s at 4 MHz, fMax for Fi = 5 MHz => 13440 bits\/s TB(1) = 00 --> VPP is not electrically connected TC(1) = FF --> Extra guard time: 255 (special value) TD(1) = 81 --> Y(i+1) = 1000, Protocol T = 1 ----- TD(2) = 31 --> Y(i+1) = 0011, Protocol T = 1 ----- TA(3) = FE --> IFSC: 254 TB(3) = 95 --> Block Waiting Integer: 9 - Character Waiting Integer: 5 + Historical bytes: 80 F9 D2 76 00 00 25 54 44 01 00 83 00 00 00 Category indicator byte: 80 (compact TLV data object) Tag: F, len: 9 (application identifier) Application identifier: D2 76 00 00 25 54 44 01 00 Tag: 8, len: 3 (status indicator) LCS (life card cycle): 00 (No information given) SW: 0000 (Error not defined by ISO 7816) + TCK = A0 (correct checksum) Possibly identified card (using \/usr\/share\/pcsc\/smartcard_list.txt): 3B FF 11 00 FF 81 31 FE 95 80 F9 D2 76 00 00 25 54 44 01 00 83 00 00 00 A0 GiroCard Haspa Hamburger Sparkasse (Bank) https:\/\/www.haspa.de\/privatkunden\/ihr-online-banking\/unser-angebot\/haspa-digital-services-96198\/ Reader 1: Alcor Micro AU9540 01 00 Event number: 0 Card state: Card removed,<\/code><\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Ma\u00dfgebend sind die Daten f\u00fcr<br>Reader 0: REINER SCT tanJack Bluetooth (0017471450) 00 00<br>nicht die f\u00fcr<br>Reader 1:<\/li>\n\n\n\n<li>Falls die PC-Hardware au\u00dfer dem TANjack noch einen anderen Kartenleser hat (siehe oben pcsc_scan -> Alcor Micro) sollte der von Hibiscus zu nutzende Leser in der Anwendung definiert werden; dies ist gleichzeitig auch ein Test, ob Hibiscus den Kartenleser richtig erkennt:\n<ul class=\"wp-block-list\">\n<li>In Hibiscus f\u00fcr&nbsp;jedes&nbsp;aktive Konto:<br>Bank-Zug\u00e4nge &gt; ChipTAN &gt; Auswahlbox &#8222;Identifier des PC\/SC-Kartenlesers&#8220;<br>einstellen auf REINER (REINER SCT tanJack Bluetooth&#8230;)<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Eine \u00dcberweisung mit Hbiscus und dem USB-Kartenleser testen &#8230;<\/li>\n<\/ul>\n<div class=\"pld-like-dislike-wrap pld-custom\">\r\n    <div class=\"pld-like-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-like-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir\" data-post-id=\"8907\" data-trigger-type=\"like\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Hoch.png\" alt=\"Gef\u00e4llt mir\" \/>\r\n            <\/a>\r\n    <span class=\"pld-like-count-wrap pld-count-wrap\">    <\/span>\r\n<\/div><div class=\"pld-dislike-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-dislike-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir nicht\" data-post-id=\"8907\" data-trigger-type=\"dislike\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Runter.png\" alt=\"Gef\u00e4llt mir nicht\" \/>\r\n            <\/a>\r\n    <span class=\"pld-dislike-count-wrap pld-count-wrap\"><\/span>\r\n<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Diese Anleitung wurde entwickelt mit gro\u00dfer Unterst\u00fctzung von\u00a0@josefine;ohne ihre wertvollen Hinweise und Tipps w\u00e4re die L\u00f6sung niemals entstanden. Danke daf\u00fcr! Hibiscus&nbsp;ist eine Open-Source &#8211; Homebanking-Anwendung entsprechend dem deutschen&nbsp;FinTS-Standard. Als Plattform dient die freie Laufzeit-Umgebung Jamaica f\u00fcr Java-Anwendungen, die in Form von Plug-ins implementiert werden k\u00f6nnen. 1. Installation JavaF\u00fcr Jamaica wird eine vorinstallierte Java-Umgebung erwartet; dies [&hellip;]<\/p>\n","protected":false},"author":45,"featured_media":763,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[57],"tags":[59],"class_list":["post-8907","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-buero","tag-buero"],"_links":{"self":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/8907","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/users\/45"}],"replies":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/comments?post=8907"}],"version-history":[{"count":1,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/8907\/revisions"}],"predecessor-version":[{"id":8908,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/8907\/revisions\/8908"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media\/763"}],"wp:attachment":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media?parent=8907"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/categories?post=8907"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/tags?post=8907"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}