Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Xu Wang
git-crypt-unlock-all
Commits
f35ae605
Commit
f35ae605
authored
Apr 18, 2016
by
Xueshan Feng
Browse files
Update comments.
parent
8fe9519e
Changes
1
Hide whitespace changes
Inline
Side-by-side
git-crypt-unlock-all.sh
View file @
f35ae605
...
...
@@ -21,7 +21,7 @@ function verify_gpg_passphrase() {
read
-s
passphrase
[
-z
"
$passphrase
"
]
&&
abort
"Empty passphrase"
# Try to
d
ecrypt
the top level
, if not successful, exit
# Try to e
n
crypt
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
...
...
Write
Preview
Markdown
is supported
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