Mercurial > trustbridge
view ui/tests/append-sig.sh @ 1248:9f5893faa60b
(issue143) Only show warning when multiple users exist.
This enumerates the ProfileList registry key and looks
for SID's starting with S-1-5-21- (like the certificate
installer does) and count the users. Only when more
then one users are found the warning is shown. Otherwise
the nss-installer will be removed.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Thu, 25 Sep 2014 12:04:54 +0200 |
parents | 44fa5de02b52 |
children | 8c829345ecfa |
line wrap: on
line source
#!/bin/bash cp $2 $3 echo -e \\r\\nS:$(openssl dgst -sha256 -sign $1 < $2 | base64 -w0) >> $3