Commit 76d64c54 authored by amnesia's avatar amnesia
Browse files

import amnesia's GnuPG pubkey into the live session user's keyring (untested)

parent 72189e4c
#!/bin/sh
#set -e
# initramfs-tools header
PREREQ=""
prereqs()
{
echo "${PREREQ}"
}
case "${1}" in
prereqs)
prereqs
exit 0
;;
esac
# live-initramfs header
if [ -n "${NOUSER}" ]
then
exit 0
fi
. /scripts/live-functions
log_begin_msg "Importing amnesia's GnuPG key into the live session user's keyring"
# live-initramfs script
chroot /root sudo -u "${USERNAME}" gnupg --batch --import /usr/share/doc/amnesia/amnesia.asc
log_end_msg
The amnesia public GnuPG key should be both included as an armored
file (done: in `/usr/share/doc/amnesia/amnesia.asc`) and imported into
the default user's keyring.
the default user's keyring (done, needs to be tested before closing
this todo item).
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment