-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
34 lines (23 loc) · 1.11 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
dsngctl - Control utility for DigSig-ng (digsig-ng.org)
=======================================================
Introduction
------------
dsngctl is a userspace command line utility accompaning the DigSig-ng kernel
module, as part of the DigSig-ng project hosted at digsig-ng.org.
The purpose of the dsngctl command is to provide an easy frontend to issue
commands to the kernel module.
Getting Started
---------------
The `start` command is the most important command of the tool: it is
responsible for loading GnuPG pubilc keys to the private module.
Firstly, you need to export your GnuPG public key used for signing the system
executables. This can be accomplished using the following command:
gpg --export >> my_public_key.pub
You can then use the `dsngctl start` command to load the public key, as
follows:
dsngctl start my_public_key.pub
You may wish to write an init script appopriate to your Linux distribution to
automatically load a key on boot.
You can use the `dsngctl status` command to check the current status of the
module: whether the module is present and whether a key has already been
provided.