Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1885366 - Smartphone as card reader doesnt' work
Summary: Smartphone as card reader doesnt' work
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: AusweisApp2
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Björn 'besser82' Esser
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-05 18:08 UTC by lukaskandler
Modified: 2021-09-24 20:12 UTC (History)
5 users (show)

Fixed In Version: AusweisApp2-1.22.2-3.fc34 AusweisApp2-1.22.2-3.el8 AusweisApp2-1.22.2-3.fc33 AusweisApp2-1.22.2-3.fc35
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-09-01 20:31:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Log from the application (deleted)
2020-10-05 18:08 UTC, lukaskandler
no flags Details

Description lukaskandler 2020-10-05 18:08:32 UTC
Created attachment 1719133 [details]
Log from the application

Description of problem: Using the smartphone as card reader doesn't work. I can successfully pair my smartphone but when trying to authenticate with the German ID card the remote service is not working. The phone app shows "Waiting for connection from paired device".


Version-Release number of selected component (if applicable): AusweisApp2-1.20.2-9


How reproducible:


Steps to Reproduce:
1. Open AusweisApp2 on the computer and smartphone
2. Pair smartphone and pc
3. Click on "See my personal data" and "Proceed to PIN entry"

Actual results:

AusweisApp2 shows "No card reader detected" When entering the settings the paired smartphone is shown as available.


Expected results:

Use smartphone as card reader to identify using the German ID card


Additional info:

Comment 1 bvoss.srvc 2020-11-10 13:56:43 UTC
I can confirm the described faulty behaviour both under Fedora 32 and Fedora 33.

I also confirm the following two lines in the log output, when the connection to the coupled device failes:

remote_... 2020.11.10 14:53:58.560 97511 C ConnectRequest::ConnectRequest(remote_device/RemoteConnectorImpl.cpp:192)  : Start reconnect to server
remote_... 2020.11.10 14:53:58.713 97511 W ConnectRequest::onError(remote_device/RemoteConnectorImpl.cpp:111)         : Connection error: QAbstractSocket::SocketError(13)

I also build a custom AlpineLinux based Podman image (based on https://github.com/misery/DockerAusweisApp2). Using this I do not encounter the problem. 
I hazard the conjecture that the underlying reason might be some incompatibility with Fedora's OpenSSL or QT libraries.

Comment 2 wurstsemmel 2020-11-12 10:16:35 UTC
I can confirm the behaviour described above.

System: Fedora 33

$ rpm -q AusweisApp2
AusweisApp2-1.20.2-9.fc33.x86_64

In the terminal I receive the following error messages:

remote_... 2020.11.12 11:09:46.409 10409 C ConnectRequest::ConnectRequest(remote_device/RemoteConnectorImpl.cpp:192)  : Start reconnect to server
remote_... 2020.11.12 11:09:46.534 10409 W ConnectRequest::onError(remote_device/RemoteConnectorImpl.cpp:111)         : Connection error: QAbstractSocket::SocketError(13)

Happy to help testing if needed.

Comment 3 wurstsemmel 2020-11-12 12:01:38 UTC
FYI, the flatpak from flathub.org comes with more than 1.5 GB of KDE dependencies. For that reason I did not test the flatpak, but maybe this information helps with troubleshooting.

$ flatpak install flathub de.bund.ausweisapp.ausweisapp2
Looking for matches…
Required runtime for de.bund.ausweisapp.ausweisapp2/x86_64/stable (runtime/org.kde.Platform/x86_64/5.15) found in remote flathub
Do you want to install it? [Y/n]: Y

de.bund.ausweisapp.ausweisapp2 permissions:
    network               fallback-x11     pcsc               wayland
    x11                   dri              file access [1]    dbus access [2]
    bus ownership [3]

    [1] xdg-config/kdeglobals:ro
    [2] com.canonical.AppMenu.Registrar, org.freedesktop.Notifications,
        org.kde.StatusNotifierWatcher
    [3] org.kde.*


        ID                                                          Zweig  Op Remote  Download
 1.     org.kde.KStyle.Adwaita                                      5.15   i  flathub   < 6,1 MB
 2.     org.kde.Platform.Locale                                     5.15   i  flathub < 341,3 MB (partial)
 3.     org.kde.PlatformTheme.QGnomePlatform.Sources                5.15   i  flathub < 472,7 kB
 4.     org.kde.PlatformTheme.QGnomePlatform                        5.15   i  flathub   < 4,7 MB
 5.     org.kde.PlatformTheme.QtSNI.Sources                         5.15   i  flathub  < 39,8 kB
 6.     org.kde.PlatformTheme.QtSNI                                 5.15   i  flathub   < 1,2 MB
 7.     org.kde.WaylandDecoration.QGnomePlatform-decoration         5.15   i  flathub   < 4,7 MB
 8.     org.kde.WaylandDecoration.QGnomePlatform_decoration.Sources 5.15   i  flathub < 472,7 kB
 9.     org.kde.Platform                                            5.15   i  flathub < 387,5 MB
10.     de.bund.ausweisapp.ausweisapp2                              stable i  flathub   < 7,6 MB

Proceed with these changes to the system installation? [Y/n]: n

Comment 4 bvoss.srvc 2020-11-13 12:30:22 UTC
(In reply to wurstsemmel from comment #3)
> FYI, the flatpak from flathub.org comes with more than 1.5 GB of KDE
> dependencies. For that reason I did not test the flatpak, but maybe this
> information helps with troubleshooting.

The Flatpak image works for me on the same machine with the same mobile phone.

Comment 5 lukaskandler 2020-11-13 18:55:07 UTC
(In reply to bvoss.srvc from comment #4)
> (In reply to wurstsemmel from comment #3)
> > FYI, the flatpak from flathub.org comes with more than 1.5 GB of KDE
> > dependencies. For that reason I did not test the flatpak, but maybe this
> > information helps with troubleshooting.
> 
> The Flatpak image works for me on the same machine with the same mobile
> phone.

For me the flatpak image works as well.

Comment 6 EnricoD 2020-11-16 17:18:56 UTC
Still trouble with AusweisApp2. I tried both installations versions (rpm & flatpak).

Initial connecting works fine. Use to read the data from German ID doesn't work.

fedora 33 + Samsung Galaxy S9 (The AndroidApp can read my ID)

After flatpak install and test this is the Journal output:

Journalctl -f:
Nov 16 18:05:24 localhost.localdomain AusweisApp2[9316]: remote_... 2020.11.16 18:05:24.604 9321 C ConnectRequest::ConnectRequest(remote_device/RemoteConnectorImpl.cpp:192)  : Start reconnect to server
Nov 16 18:05:24 localhost.localdomain AusweisApp2[9316]: remote_... 2020.11.16 18:05:24.840 9321 W ConnectRequest::onError(remote_device/RemoteConnectorImpl.cpp:111)         : Connection error: QAbstractSocket::SocketError(13)

Comment 7 André Klitzing 2021-03-10 09:03:51 UTC
You could try to remove the custom "/usr/share/AusweisApp2/openssl.cnf" file of Fedora as it cuts down TLS stuff (why???).

Comment 8 bvoss.srvc 2021-03-14 18:45:45 UTC
(In reply to aklitzing from comment #7)
> You could try to remove the custom "/usr/share/AusweisApp2/openssl.cnf" file
> of Fedora as it cuts down TLS stuff (why???).

I tried that, but without success. I am still getting the errors:

remote_... 2021.03.14 19:40:57.540 137138 W ConnectRequest::onError(remote_device/RemoteConnectorImpl.cpp:111)         : Connection error: QAbstractSocket::SocketError(13)
remote_... 2021.03.14 19:40:58.371 137138 C ConnectRequest::ConnectRequest(remote_device/RemoteConnectorImpl.cpp:192)  : Start reconnect to server
...

Comment 9 Fedora Program Management 2021-04-29 16:40:01 UTC
This message is a reminder that Fedora 32 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 32 on 2021-05-25.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '32'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 32 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 10 wurstsemmel 2021-04-30 14:08:48 UTC
I cam reproduce the bug on Fedora 34 with AusweisApp2-1.20.2-11.fc34.x86_64.

The AusweisApp2 on Fedora 34 does not recognize the Smartphone as Card Reader. Pairing works, but verifying the ID Card does not work.

@besser82, please change the "version" to 34.

Comment 11 Ben Cotton 2021-05-25 16:50:18 UTC
Fedora 32 changed to end-of-life (EOL) status on 2021-05-25. Fedora 32 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 12 bvoss.srvc 2021-05-26 18:17:30 UTC
reopened against Fedora34: https://bugzilla.redhat.com/show_bug.cgi?id=1964669

Comment 13 wurstsemmel 2021-08-26 12:50:48 UTC
I received an update for AusweisApp2 today. Not sure whether the update was intended to address this bug.

However, the bug still reproduces with the new version:

$ rpm -q AusweisApp2
AusweisApp2-1.22.2-1.fc34.x86_64

Comment 14 Fedora Update System 2021-08-31 07:16:41 UTC
FEDORA-2021-b025f69683 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-b025f69683

Comment 15 Fedora Update System 2021-08-31 07:16:42 UTC
FEDORA-2021-5729f02f4c has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-5729f02f4c

Comment 16 Fedora Update System 2021-08-31 07:16:43 UTC
FEDORA-2021-ae621237b4 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-ae621237b4

Comment 17 Fedora Update System 2021-08-31 17:57:19 UTC
FEDORA-2021-ae621237b4 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-ae621237b4`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-ae621237b4

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 18 Fedora Update System 2021-08-31 22:04:29 UTC
FEDORA-2021-5729f02f4c has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-5729f02f4c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-5729f02f4c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 19 Fedora Update System 2021-08-31 22:25:48 UTC
FEDORA-EPEL-2021-7e4f239518 has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-7e4f239518

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 20 Fedora Update System 2021-08-31 22:53:11 UTC
FEDORA-2021-b025f69683 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-b025f69683`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-b025f69683

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 21 Fedora Update System 2021-09-01 20:31:26 UTC
FEDORA-2021-b025f69683 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 22 Fedora Update System 2021-09-01 20:34:48 UTC
FEDORA-EPEL-2021-7e4f239518 has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 23 Fedora Update System 2021-09-01 20:49:35 UTC
FEDORA-2021-5729f02f4c has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 24 Fedora Update System 2021-09-24 20:12:00 UTC
FEDORA-2021-ae621237b4 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.