Browse Source

Update documentation for SHA-256 verification

master
Damien Goutte-Gattat 6 years ago
parent
commit
db5547d171
  1. 3
      README
  2. 8
      man/gfsec-use.1.in

3
README

@ -44,6 +44,9 @@ Gfsecret depends on the following libraries at compile-time:
– libgfshare <http://www.digital-scurf.org/software/libgfshare>, which
implements the secret sharing scheme proper (mandatory);
– libgcrypt <http://www.gnupg.org/>, for the SHA-256 implementation
(mandatory);
– GIO <http://developer.gnome.org/gio/>, to access shares stored on
external volumes (typically USB storage) (optional);

8
man/gfsec-use.1.in

@ -94,13 +94,19 @@ whole secret and not only a share (in that case, the
previous remark about the share number in the extension
does not apply).
.PP
Another parameter is \fIsha256\fR, which specifies the
expected SHA-256 hash value of the share data. If such a
parameter is specified, a share will only be used if the
data matches the expected hash value.
.SH EXAMPLE CONFIGURATION FILE
.PP
.nf
OUTFILE=/home/alice/mysecret
MINSHARES=2
URI=file:///home/alice/.local/share/gfsecret/mysecret.024
URI=label://USBSTICK/mysecret.070
URI=label://USBSTICK/mysecret.070?sha256=\fIhex_hash\fR
URI=mtp://RF2GB6X704P/Documents/mysecret.139
.fi

Loading…
Cancel
Save