Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tails
tails
Commits
76d64c54
Commit
76d64c54
authored
Aug 25, 2009
by
amnesia
Browse files
import amnesia's GnuPG pubkey into the live session user's keyring (untested)
parent
72189e4c
Changes
2
Hide whitespace changes
Inline
Side-by-side
config/chroot_local-includes/usr/share/initramfs-tools/scripts/live-bottom/30import_gnupg_key
0 → 100755
View file @
76d64c54
#!/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
wiki/src/todo/include_and_import_amnesia_gnupg_key.mdwn
View file @
76d64c54
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).
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment