Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
K
keyringer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
rhatto
keyringer
Commits
c46d0e77
Verified
Commit
c46d0e77
authored
6 years ago
by
rhatto
Browse files
Options
Downloads
Patches
Plain Diff
Adds COMMIT_AFTER_ENCRYPT setting
parent
bfb19958
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
ChangeLog
+4
-0
4 additions, 0 deletions
ChangeLog
lib/keyringer/actions/encrypt
+5
-0
5 additions, 0 deletions
lib/keyringer/actions/encrypt
with
9 additions
and
0 deletions
ChangeLog
+
4
−
0
View file @
c46d0e77
2019-03-25 - Silvio Rhatto <rhatto@riseup.net>
Adds COMMIT_AFTER_ENCRYPT setting
2019-01-29 - 0.5.4 - Silvio Rhatto <rhatto@riseup.net>
Use --no-encrypt-to GnuPG option to strictly respect the recipients file
...
...
This diff is collapsed.
Click to expand it.
lib/keyringer/actions/encrypt
+
5
−
0
View file @
c46d0e77
...
...
@@ -124,5 +124,10 @@ if [ -d "$BASEDIR/.git" ]; then
keyringer_exec git
"
$BASEDIR
"
add
"keys/
$FILE
"
fi
# Optional commit depending on the value of this setting
if
[
"
$COMMIT_AFTER_ENCRYPT
"
==
"yes"
]
;
then
keyringer_exec git
"
$BASEDIR
"
commit
-m
"Changes for
$FILE
"
fi
# Done
exit
"
$?
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment