Commit f35ae605 authored by Xueshan Feng's avatar Xueshan Feng
Browse files

Update comments.

parent 8fe9519e
......@@ -21,7 +21,7 @@ function verify_gpg_passphrase() {
read -s passphrase
[ -z "$passphrase" ] && abort "Empty passphrase"
# Try to decrypt the top level, if not successful, exit
# Try to encrypt a test file at repo top level with the passphrase, if not successful, exit
userids=$(gpg --list-keys | grep pub | grep -oE "/(\w+) " | tr '/' ' ')
foundkey=1
echo "test" > /tmp/gpg_test.in
......
Supports Markdown
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