8356fbcb96bb42cd6918774d7fc2f5d946899dbe
[strongswan.git] / src / libpts / plugins / imv_attestation / build_database.sh
1 #!/bin/sh
2 ipsec attest --add --product "$1" --sha1-ima --dir /sbin
3 ipsec attest --add --product "$1" --sha1-ima --dir /usr/sbin
4 ipsec attest --add --product "$1" --sha1-ima --dir /bin
5 ipsec attest --add --product "$1" --sha1-ima --dir /usr/bin
6 ipsec attest --add --product "$1" --sha1-ima --dir /etc/acpi
7 ipsec attest --add --product "$1" --sha1-ima --file /etc/init.d/rc
8 ipsec attest --add --product "$1" --sha1-ima --file /etc/init.d/rcS
9 ipsec attest --add --product "$1" --sha1-ima --dir /etc/network/if-pre-up.d
10 ipsec attest --add --product "$1" --sha1-ima --dir /etc/network/if-up.d
11 ipsec attest --add --product "$1" --sha1-ima --file /etc/NetworkManager/dispatcher.d/01ifupdown
12 ipsec attest --add --product "$1" --sha1-ima --dir /etc/ppp/ip-down.d
13 ipsec attest --add --product "$1" --sha1-ima --dir /etc/rc2.d
14 ipsec attest --add --product "$1" --sha1-ima --dir /etc/rcS.d
15 ipsec attest --add --product "$1" --sha1-ima --file /etc/rc.local
16 ipsec attest --add --product "$1" --sha1-ima --dir /etc/resolvconf/update.d
17 ipsec attest --add --product "$1" --sha1-ima --file /etc/resolvconf/update-libc.d/avahi-daemon
18 ipsec attest --add --product "$1" --sha1-ima --dir /etc/update-motd.d
19 ipsec attest --add --product "$1" --sha1-ima --file /lib/crda/setregdomain
20 ipsec attest --add --product "$1" --sha1-ima --file /lib/init/apparmor-profile-load
21 ipsec attest --add --product "$1" --sha1-ima --file /lib/resolvconf/list-records
22 ipsec attest --add --product "$1" --sha1-ima --dir /lib/udev
23 ipsec attest --add --product "$1" --sha1-ima --file /lib/ufw/ufw-init
24 ipsec attest --add --product "$1" --sha1-ima --file /usr/lib/accountsservice/accounts-daemon
25 ipsec attest --add --product "$1" --sha1-ima --dir /usr/lib/at-spi2-core
26 ipsec attest --add --product "$1" --sha1-ima --file /usr/lib/avahi/avahi-daemon-check-dns.sh
27 ipsec attest --add --product "$1" --sha1-ima --dir /usr/lib/ConsoleKit
28 ipsec attest --add --product "$1" --sha1-ima --dir /usr/lib/ConsoleKit/run-seat.d
29 ipsec attest --add --product "$1" --sha1-ima --dir /usr/lib/ConsoleKit/run-session.d
30 ipsec attest --add --product "$1" --sha1-ima --dir /usr/lib/cups/notifier
31 ipsec attest --add --product "$1" --sha1-ima --file /usr/lib/dconf/dconf-service
32 ipsec attest --add --product "$1" --sha1-ima --file /usr/lib/dbus-1.0/dbus-daemon-launch-helper
33 ipsec attest --add --product "$1" --sha1-ima --dir /usr/lib/gvfs
34 ipsec attest --add --product "$1" --sha1-ima --file /usr/lib/gvfs//gvfs-fuse-daemon
35 ipsec attest --add --product "$1" --sha1-ima --file /usr/lib/gnome-settings-daemon/gnome-settings-daemon
36 ipsec attest --add --product "$1" --sha1-ima --file /usr/lib/i386-linux-gnu/colord/colord
37 ipsec attest --add --product "$1" --sha1-ima --dir /usr/lib/lightdm
38 ipsec attest --add --product "$1" --sha1-ima --file /usr/lib/NetworkManager/nm-dhcp-client.action
39 ipsec attest --add --product "$1" --sha1-ima --file /usr/lib/NetworkManager/nm-dispatcher.action
40 ipsec attest --add --product "$1" --sha1-ima --dir /usr/lib/pm-utils/power.d
41 ipsec attest --add --product "$1" --sha1-ima --file /usr/lib/policykit-1/polkitd
42 ipsec attest --add --product "$1" --sha1-ima --file /usr/lib/update-manager/release-upgrade-motd
43 ipsec attest --add --product "$1" --sha1-ima --dir /usr/lib/update-notifier
44 ipsec attest --add --product "$1" --sha1-ima --dir /usr/share/language-tools
45 ipsec attest --add --product "$1" --sha1-ima --file /usr/share/virtualbox/VBoxCreateUSBNode.sh
46 ipsec attest --add --product "$1" --sha1-ima --relative --dir /lib
47 ipsec attest --add --product "$1" --sha1-ima --relative --dir /lib/i386-linux-gnu
48 ipsec attest --add --product "$1" --sha1-ima --relative --dir /lib/i386-linux-gnu/security
49 ipsec attest --add --product "$1" --sha1-ima --relative --file /lib/plymouth/details.so
50 ipsec attest --add --product "$1" --sha1-ima --relative --dir /lib/plymouth/renderers
51 ipsec attest --add --product "$1" --sha1-ima --relative --dir /lib/security
52 ipsec attest --add --product "$1" --sha1-ima --relative --dir /usr/lib
53 ipsec attest --add --product "$1" --sha1-ima --relative --dir /usr/lib/apache2/modules
54 ipsec attest --add --product "$1" --sha1-ima --relative --dir /usr/lib/gtk-3.0/3.0.0/theming-engines/
55 ipsec attest --add --product "$1" --sha1-ima --relative --dir /usr/lib/i386-linux-gnu
56 ipsec attest --add --product "$1" --sha1-ima --relative --dir /usr/lib/i386-linux-gnu/alsa-lib
57 ipsec attest --add --product "$1" --sha1-ima --relative --dir /usr/lib/i386-linux-gnu/dri
58 ipsec attest --add --product "$1" --sha1-ima --relative --dir /usr/lib/i386-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders
59 ipsec attest --add --product "$1" --sha1-ima --relative --dir /usr/lib/i386-linux-gnu/gio/modules
60 ipsec attest --add --product "$1" --sha1-ima --relative --dir /usr/lib/i386-linux-gnu/gtk-2.0/modules/
61 ipsec attest --add --product "$1" --sha1-ima --relative --dir /usr/lib/i386-linux-gnu/gtk-3.0/modules/
62 ipsec attest --add --product "$1" --sha1-ima --relative --dir /usr/lib/i386-linux-gnu/gvfs
63 ipsec attest --add --product "$1" --sha1-ima --relative --dir /usr/lib/i386-linux-gnu/mit-krb5
64 ipsec attest --add --product "$1" --sha1-ima --relative --dir /usr/lib/i386-linux-gnu/openssl-1.0.0/engines
65 ipsec attest --add --product "$1" --sha1-ima --relative --dir /usr/lib/i386-linux-gnu/pkcs11
66 ipsec attest --add --product "$1" --sha1-ima --relative --dir /usr/lib/i386-linux-gnu/polkit-1/extensions
67 ipsec attest --add --product "$1" --sha1-ima --relative --dir /usr/lib/i386-linux-gnu/nss
68 ipsec attest --add --product "$1" --sha1-ima --relative --dir /usr/lib/i386-linux-gnu/sane
69 ipsec attest --add --product "$1" --sha1-ima --relative --dir /usr/lib/ModemManager
70 ipsec attest --add --product "$1" --sha1-ima --relative --file /usr/lib/NetworkManager/libnm-settings-plugin-ifupdown.so
71 ipsec attest --add --product "$1" --sha1-ima --relative --dir /usr/lib/rsyslog
72 ipsec attest --add --product "$1" --sha1-ima --relative --dir /usr/lib/sane
73 ipsec attest --add --product "$1" --sha1-ima --relative --dir /usr/lib/xorg/modules
74 ipsec attest --add --product "$1" --sha1-ima --relative --dir /usr/lib/xorg/modules/drivers
75 ipsec attest --add --product "$1" --sha1-ima --relative --dir /usr/lib/xorg/modules/extensions
76 ipsec attest --add --product "$1" --sha1-ima --relative --dir /usr/lib/xorg/modules/input
77