https://github.com/domenkozar/proxsign-nix
Easy way to use proxsign on Linux
https://github.com/domenkozar/proxsign-nix
Last synced: 3 months ago
JSON representation
Easy way to use proxsign on Linux
- Host: GitHub
- URL: https://github.com/domenkozar/proxsign-nix
- Owner: domenkozar
- Created: 2018-04-09T13:47:34.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-08-03T15:59:26.000Z (almost 3 years ago)
- Last Synced: 2025-03-09T00:46:55.341Z (about 1 year ago)
- Language: Nix
- Size: 9.77 KB
- Stars: 28
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Proxsign (for Linux using Nix)
[](https://travis-ci.org/domenkozar/proxsign-nix)
This repository contains reproducible installation for proxsign signing component
required for some Slovenian national infrastructure.
## Installation
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
### Installing on NixOS
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:
```nix
environment.systemPackages = [
# ProxSign
(import (builtins.fetchTarball {
url = "https://github.com/domenkozar/proxsign-nix/archive/cc26bee496facdb61c2cbb2bcfef55e167d4a85b.tar.gz";
sha256 = "0smhpz7hw382mlin79v681nws4pna5bdg0w8cjb4iq23frnb5dw6";
}))
];
```
## Usage
### 1. Run the application in terminal
$ proxsign
You should see GUI application display a list of your certificates (sigenca, etc).
### 2. Whitelist self-signed certificate in your browser
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
### 3. Verify that everything works
- Open http://www.si-ca.si/podpisna_komponenta/g2/Testiranje_podpisovanja_IEFF_adv_g2.php
- Click "Podpisi"
- Click "Vredu"
- Click "Preveri podpis"
## Uninstall Nix package manager (optional)
$ sudo rm -rf /nix
$ sudo rm -rf ~/.nix-*
# References
- http://www.si-ca.si/podpisna_komponenta/g2/navodilo-linux_2_1_2_58_1.php