f559247df2aedaf52c97f836d74847d9c5191398
[strongswan.git] / src / libpts / plugins / imv_attestation / build_database.sh
1 #!/bin/sh
2
3 p="Ubuntu 12.04 LTS i686"
4
5 ipsec attest --add --product "$p" --sha1-ima --dir /sbin
6 ipsec attest --add --product "$p" --sha1-ima --dir /usr/sbin
7 ipsec attest --add --product "$p" --sha1-ima --dir /bin
8 ipsec attest --add --product "$p" --sha1-ima --dir /usr/bin
9 ipsec attest --add --product "$p" --sha1-ima --dir /etc/acpi
10 ipsec attest --add --product "$p" --sha1-ima --file /etc/init.d/rc
11 ipsec attest --add --product "$p" --sha1-ima --file /etc/init.d/rcS
12 ipsec attest --add --product "$p" --sha1-ima --dir /etc/network/if-post-down.d
13 ipsec attest --add --product "$p" --sha1-ima --dir /etc/network/if-pre-up.d
14 ipsec attest --add --product "$p" --sha1-ima --dir /etc/network/if-up.d
15 ipsec attest --add --product "$p" --sha1-ima --file /etc/NetworkManager/dispatcher.d/01ifupdown
16 ipsec attest --add --product "$p" --sha1-ima --dir /etc/ppp/ip-down.d
17 ipsec attest --add --product "$p" --sha1-ima --dir /etc/rc2.d
18 ipsec attest --add --product "$p" --sha1-ima --dir /etc/rcS.d
19 ipsec attest --add --product "$p" --sha1-ima --file /etc/rc.local
20 ipsec attest --add --product "$p" --sha1-ima --dir /etc/resolvconf/update.d
21 ipsec attest --add --product "$p" --sha1-ima --file /etc/resolvconf/update-libc.d/avahi-daemon
22 ipsec attest --add --product "$p" --sha1-ima --dir /etc/update-motd.d
23 ipsec attest --add --product "$p" --sha1-ima --file /lib/crda/setregdomain
24 ipsec attest --add --product "$p" --sha1-ima --file /lib/init/apparmor-profile-load
25 ipsec attest --add --product "$p" --sha1-ima --file /lib/resolvconf/list-records
26 ipsec attest --add --product "$p" --sha1-ima --dir /lib/udev
27 ipsec attest --add --product "$p" --sha1-ima --file /lib/ufw/ufw-init
28 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/accountsservice/accounts-daemon
29 ipsec attest --add --product "$p" --sha1-ima --dir /usr/lib/at-spi2-core
30 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/avahi/avahi-daemon-check-dns.sh
31 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/bamf/bamfdaemon
32 ipsec attest --add --product "$p" --sha1-ima --dir /usr/lib/ConsoleKit
33 ipsec attest --add --product "$p" --sha1-ima --dir /usr/lib/ConsoleKit/run-seat.d
34 ipsec attest --add --product "$p" --sha1-ima --dir /usr/lib/ConsoleKit/run-session.d
35 ipsec attest --add --product "$p" --sha1-ima --dir /usr/lib/cups/notifier
36 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/dconf/dconf-service
37 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/dbus-1.0/dbus-daemon-launch-helper
38 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/deja-dup/deja-dup/deja-dup-monitor
39 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/evolution/3.2/evolution-alarm-notify
40 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/firefox/firefox
41 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/firefox/plugin-container
42 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/geoclue/geoclue-master
43 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/gnome-desktop3/check_gl_texture_size
44 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/gnome-disk-utility/gdu-notification-daemon
45 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/gnome-online-accounts/goa-daemon
46 ipsec attest --add --product "$p" --sha1-ima --dir /usr/lib/gnome-settings-daemon
47 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/gnome-user-share/gnome-user-share
48 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/gnome-screensaver/gnome-screensaver-dialog
49 ipsec attest --add --product "$p" --sha1-ima --dir /usr/lib/gvfs
50 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/gvfs//gvfs-fuse-daemon
51 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/i386-linux-gnu/colord/colord
52 ipsec attest --add --product "$p" --sha1-ima --dir /usr/lib/i386-linux-gnu/gconf
53 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/indicator-application/indicator-application-service
54 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/indicator-appmenu/hud-service
55 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/indicator-datetime/indicator-datetime-service
56 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/indicator-messages/indicator-messages-service
57 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/indicator-printers/indicator-printers-service
58 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/indicator-session/indicator-session-service
59 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/indicator-sound/indicator-sound-service
60 ipsec attest --add --product "$p" --sha1-ima --dir /usr/lib/lightdm
61 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/NetworkManager/nm-dhcp-client.action
62 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/NetworkManager/nm-dispatcher.action
63 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/notify-osd/notify-osd
64 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/nux/unity_support_test
65 ipsec attest --add --product "$p" --sha1-ima --dir /usr/lib/pm-utils/power.d
66 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/policykit-1/polkitd
67 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
68 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/pulseaudio/pulse/gconf-helper
69 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/rtkit/rtkit-daemon
70 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/telepathy/mission-control-5
71 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/thunderbird/thunderbird
72 ipsec attest --add --product "$p" --sha1-ima --dir /usr/lib/ubuntuone-client
73 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/ubuntu-geoip/ubuntu-geoip-provider
74 ipsec attest --add --product "$p" --sha1-ima --dir /usr/lib/ubuntu-sso-client
75 ipsec attest --add --product "$p" --sha1-ima --dir /usr/lib/udisks
76 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/unity/unity-panel-service
77 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/unity-lens-applications/unity-applications-daemon
78 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/unity-lens-files/unity-files-daemon
79 ipsec attest --add --product "$p" --sha1-ima --dir /usr/lib/unity-lens-music
80 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/unity-lens-video/unity-lens-video
81 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/unity-scope-video-remote/unity-scope-video-remote
82 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/update-manager/release-upgrade-motd
83 ipsec attest --add --product "$p" --sha1-ima --dir /usr/lib/update-notifier
84 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/upower/upowerd
85 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/libvte-2.90-9/gnome-pty-helper
86 ipsec attest --add --product "$p" --sha1-ima --file /usr/lib/zeitgeist/zeitgeist-fts
87 ipsec attest --add --product "$p" --sha1-ima --file /usr/share/apport/apport
88 ipsec attest --add --product "$p" --sha1-ima --file /usr/share/apport/apport-checkreports
89 ipsec attest --add --product "$p" --sha1-ima --file /usr/share/apport/apport-gtk
90 ipsec attest --add --product "$p" --sha1-ima --dir /usr/share/language-tools
91 ipsec attest --add --product "$p" --sha1-ima --file /usr/share/virtualbox/VBoxCreateUSBNode.sh
92 ipsec attest --add --product "$p" --sha1-ima --relative --file /etc/ld.so.cache
93 ipsec attest --add --product "$p" --sha1-ima --relative --dir /lib
94 ipsec attest --add --product "$p" --sha1-ima --relative --dir /lib/i386-linux-gnu
95 ipsec attest --add --product "$p" --sha1-ima --relative --dir /lib/i386-linux-gnu/security
96 ipsec attest --add --product "$p" --sha1-ima --relative --file /lib/plymouth/details.so
97 ipsec attest --add --product "$p" --sha1-ima --relative --dir /lib/plymouth/renderers
98 ipsec attest --add --product "$p" --sha1-ima --relative --dir /lib/security
99 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib
100 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/apache2/modules
101 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/compiz
102 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/compizconfig/backends/
103 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/enchant
104 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/evolution/3.2/libemiscwidgets.so.0.0.0
105 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/evolution/3.2/libeutil.so.0.0.0
106 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/evolution/3.2/libgnomecanvas.so.0.0.0
107 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/firefox/components/libbrowsercomps.so
108 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/firefox/libmozalloc.so
109 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/firefox/libmozsqlite3.so
110 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/firefox/libxpcom.so
111 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/firefox/libxul.so
112 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/firefox-addons/extensions/globalmenu@ubuntu.com/components/libglobalmenu.so
113 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/firefox-addons/plugins/nppdf.so
114 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/flashplugin-installer/libflashplayer.so
115 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/gedit/plugins
116 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/gnome-bluetooth
117 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/gnome-settings-daemon-3.0
118 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/gtk-3.0/3.0.0/menuproxies
119 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/gtk-3.0/3.0.0/theming-engines
120 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/i386-linux-gnu
121 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/i386-linux-gnu/alsa-lib
122 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/i386-linux-gnu/dri
123 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/i386-linux-gnu/gconf/2
124 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/i386-linux-gnu/gconv
125 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/i386-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders
126 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/i386-linux-gnu/gio/modules
127 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/i386-linux-gnu/gtk-2.0/modules
128 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/i386-linux-gnu/gtk-2.0/2.10.0/engines
129 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/i386-linux-gnu/gtk-3.0/modules
130 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/i386-linux-gnu/gtk-3.0/3.0.0/immodules
131 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/i386-linux-gnu/gvfs
132 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/i386-linux-gnu/libcanberra-0.28
133 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/i386-linux-gnu/mesa
134 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/i386-linux-gnu/mit-krb5
135 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/i386-linux-gnu/openssl-1.0.0/engines
136 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/i386-linux-gnu/pango/1.6.0/modules
137 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/i386-linux-gnu/pkcs11
138 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/i386-linux-gnu/polkit-1/extensions
139 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/i386-linux-gnu/nss
140 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/i386-linux-gnu/sane
141 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/i386-linux-gnu/sse2
142 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/indicators3/7
143 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/indicator-messages/status-providers/1
144 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/libpeas-1.0/loaders
145 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/mission-control-plugins.0
146 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/ModemManager
147 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/nautilus/extensions-3.0
148 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/NetworkManager/libnm-settings-plugin-ifupdown.so
149 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/perl/5.14.2/auto/File/Glob/Glob.so
150 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/pulse-1.1/modules
151 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/python2.7/lib-dynload
152 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/python2.7/dist-packages/apt_inst.so
153 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/python2.7/dist-packages/apt_pkg.so
154 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/python2.7/dist-packages/cairo/_cairo.so
155 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/python2.7/dist-packages/dbus/mainloop/qt.so
156 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/python2.7/dist-packages/_dbus_bindings.so
157 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/python2.7/dist-packages/_dbus_glib_bindings.so
158 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/python2.7/dist-packages/duplicity/_librsync.so
159 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/python2.7/dist-packages/gi/_gi.so
160 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/python2.7/dist-packages/gi/_gobject/_gobject.so
161 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/python2.7/dist-packages/gi/_glib/_glib.so
162 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/python2.7/dist-packages/glib/_glib.so
163 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/python2.7/dist-packages/gobject/_gobject.so
164 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/python2.7/dist-packages/gtk-2.0/atk.so
165 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/python2.7/dist-packages/gtk-2.0/gtk/_gtk.so
166 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/python2.7/dist-packages/gtk-2.0/gio/_gio.so
167 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/python2.7/dist-packages/gtk-2.0/gio/unix.so
168 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/python2.7/dist-packages/gtk-2.0/pango.so
169 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/python2.7/dist-packages/gtk-2.0/pangocairo.so
170 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/python2.7/dist-packages/gtk-2.0/pynotify/_pynotify.so
171 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/python2.7/dist-packages/OpenSSL/crypto.so
172 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/python2.7/dist-packages/OpenSSL/rand.so
173 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/python2.7/dist-packages/OpenSSL/SSL.so
174 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
175 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/python2.7/dist-packages/simplejson/_speedups.so
176 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/python2.7/dist-packages/sip.so
177 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/python2.7/dist-packages/twisted/internet/_sigchld.so
178 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/python2.7/dist-packages/twisted/python/_initgroups.so
179 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/python2.7/dist-packages/xapian/_xapian.so
180 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/python2.7/dist-packages/zope/interface/_zope_interface_coptimizations.so
181 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/rsyslog
182 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/sane
183 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/sse2
184 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/sudo
185 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/thunderbird/libldap60.so
186 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/thunderbird/libldif60.so
187 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/thunderbird/libprldap60.so
188 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/thunderbird/components/libdbusservice.so
189 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/thunderbird/components/libmozgnome.so
190 ipsec attest --add --product "$p" --sha1-ima --relative --file /usr/lib/thunderbird-addons/extensions/globalmenu@ubuntu.com/components/libglobalmenu.so
191 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/xorg/modules
192 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/xorg/modules/drivers
193 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/xorg/modules/extensions
194 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/lib/xorg/modules/input
195 ipsec attest --add --product "$p" --sha1-ima --relative --dir /usr/share/fonts/truetype/ubuntu-font-family
196