attest now maintains multiple versions of a file hash

This commit is contained in:
Andreas Steffen
2014-05-10 20:08:20 +02:00
parent 688b5b99ed
commit 37a73b9cc7
6 changed files with 86 additions and 95 deletions
@@ -66,6 +66,12 @@ do
ipsec attest --add --product "$p" --$hash --dir /usr/lib/$a/samba
ipsec attest --add --product "$p" --$hash --dir /usr/lib/$a/sasl2
ipsec attest --add --product "$p" --$hash --file /init \
--measdir /usr/share/initramfs-tools
ipsec attest --add --product "$p" --$hash --file /scripts/functions \
--measdir /usr/share/initramfs-tools/scripts
for file in `find /usr/lib/evolution-data-server -name *.so`
do
ipsec attest --add --product "$p" --$hash --file $file