I checked the following:

* Builds, installs and uninstalls cleanly on amd64
* /usr/local/bin/web-eid starts and shows a window explaining that it
wants to be invoked by a browser extension
* following the instructions in -chrome, a window pops up when clicking "Authenticate" on web-eid.eu

I did notice that having a Yubikey plugged in seems to confuse the
application, i.e. either I didn't see anything when clicking
'Authenticate' or could only catch a hint of a flicker of the window
opening and closing again - possibly the application doesn't deal
well with other kinds of smartcards present.

fwiw ok volker@

On 6/29/23 00:57, Klemens Nanni wrote:
On Sun, Jun 18, 2023 at 10:39:27PM +0000, Klemens Nanni wrote:
Chromium works!  I named our packages after upstream's official debian/ubuntu
web-eid-{chrome,firefox,native}-*.deb ones.

-native has the cli/native messaging host, -chrome has the config for
www/chromium and a README pointing at the official extention plus unveil.

Once I sorted out the other chrome flavours in out ports tree, my plan
is to make -chrome ship those too;  no need for -chromium, -irdium, etc.

With www/mozilla-firefox the extension starts the native app and
stdin/out sees data, but something goes wrong.  Need to investigate,
then hopefully make www/firefox-esr work as well and make -firefox ship
it, in analogy to -chrome covering all the *chrom* ports.

No progress yet other browsers besides chromium.

---
     Information for inst:web-eid-chrome-2.3.1

     Comment:
     chromium extension

     Description:
     Configuration for the official Web eID extension for Chromium.

     Maintainer: Klemens Nanni <k...@openbsd.org>

     WWW: https://web-eid.eu/

---
     Information for inst:web-eid-native-2.3.1

     Comment:
     native messaging host for Web eID browser extension

     Required by:
     web-eid-chrome-2.3.1

     Description:
     The Web eID application peforms cryptographic digital signing and
     authentication operations with electronic ID smart cards for the Web eID
     browser extension, for which it acts as native messaging host.

     Also works standalone without the extension in command-line mode.

     Maintainer: Klemens Nanni <k...@openbsd.org>

     WWW: https://web-eid.eu/
---

Even without smart card, you can test -native by running `web-eid'
manually to get a Qt6 window.

For -chrome follow README, click 'Authenticate' on https://web-eid.eu
and get a window;  with a smart card, follow the process and view the
resulting file in security/qdigidoc4;  without a smart card, close the
window (your browser's extension successfully talked to the native
messaging host application).

Feedback? OK?

Ping.

Reply via email to