Web eID: Difference between revisions

Tristan (talk | contribs)
Correct invalid option name
Tristan (talk | contribs)
Distinguish system and home options related to Firefox
 
Line 1: Line 1:
The Web eID project enables usage of European Union electronic identity (eID) smart cards for secure authentication and digital signing of documents on the web using public-key cryptography.
eThe Web eID project enables usage of European Union electronic identity (eID) smart cards for secure authentication and digital signing of documents on the web using public-key cryptography.


Check [https://web-eid.eu/|web-eid.eu] for more details and an example application.
Check [https://web-eid.eu/|web-eid.eu] for more details and an example application.
Line 19: Line 19:


== Firefox ==
== Firefox ==
If you're using Firefox, and  <code>programs.firefox.enable = true</code> to configure your firefox, you can set:
Firefox requires an additional browser extension for Web eID to work. If Firefox is enabled with <code>programs.firefox.enable = true</code>, this can specified system-wide, as follows...


<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">programs.firefox.nativeMessagingHosts.packages = [ pkgs.web-eid-app ];</syntaxhighlight>
 
...or per user with Home Manager, as follows:<syntaxhighlight lang="nix">
programs.firefox.nativeMessagingHosts = [ pkgs.web-eid-app ];
programs.firefox.nativeMessagingHosts = [ pkgs.web-eid-app ];
</syntaxhighlight>
</syntaxhighlight>




If you're building a firefox derivation yourself, you can override it with <code>extraNativeMessagingHosts = [ pkgs.web-eid-app ];</code>.
If you're building a Firefox derivation yourself, you can override it with <code>extraNativeMessagingHosts = [ pkgs.web-eid-app ];</code>.


== Google Chrome / Chromium ==
== Google Chrome / Chromium ==