This repository contains reproducible installation for proxsign signing component required for some Slovenian national infrastructure.
First you'll need to install Nix via terminal (works on any Linux distribution):
$ curl -L https://nixos.org/nix/install | sh
$ source ~/.nix-profile/etc/profile.d/nix.sh
Then install proxsign:
$ nix-env -i -f https://github.com/domenkozar/proxsign-nix/tarball/master
If you are using nixos you can also add package to your nixos configuration.
To install pacakge in you system
profile you can add this in
your configuration.nix
file and rebuild your system:
environment.systemPackages = [
# ProxSign
(import (builtins.fetchTarball {
url = "https://github.com/domenkozar/proxsign-nix/archive/cc26bee496facdb61c2cbb2bcfef55e167d4a85b.tar.gz";
sha256 = "0smhpz7hw382mlin79v681nws4pna5bdg0w8cjb4iq23frnb5dw6";
}))
];
$ proxsign
You should see GUI application display a list of your certificates (sigenca, etc).
Chromium:
- Open https://localhost:14972/
- You should see "Your connection is not private"
- Click "Advanced"
- Click "Proceed to localhost (unsafe)" (yes, that's "right")
- You will get an
404
error, which is fine
Firefox:
- Open https://localhost:14972/
- Add an exception for certificate
- You will get an
404
error, which is fine
- Open http://www.si-ca.si/podpisna_komponenta/g2/Testiranje_podpisovanja_IEFF_adv_g2.php
- Click "Podpisi"
- Click "Vredu"
- Click "Preveri podpis"
$ sudo rm -rf /nix
$ sudo rm -rf ~/.nix-*