domenkozar / proxsign-nix

Easy way to use proxsign on Linux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Proxsign (for Linux using Nix)

Build Status

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:

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:

3. Verify that everything works

Uninstall Nix package manager (optional)

$ sudo rm -rf /nix
$ sudo rm -rf ~/.nix-*

References

About

Easy way to use proxsign on Linux


Languages

Language:Nix 100.0%