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
df97a807
Commit
df97a807
authored
10 years ago
by
rhatto
Browse files
Options
Downloads
Patches
Plain Diff
Edit: Unset RELATIVE_PATH before encrypting file
parent
f63b965d
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
ChangeLog
+2
-0
2 additions, 0 deletions
ChangeLog
lib/keyringer/actions/edit
+2
-2
2 additions, 2 deletions
lib/keyringer/actions/edit
with
4 additions
and
2 deletions
ChangeLog
+
2
−
0
View file @
df97a807
2014-08-16 - Silvio Rhatto <rhatto@riseup.net>
Edit: Unset RELATIVE_PATH before encrypting file
New 'cp' action
Reset 'expiry' on keyringer_check_expiration, reported and fixed
...
...
This diff is collapsed.
Click to expand it.
lib/keyringer/actions/edit
+
2
−
2
View file @
df97a807
...
...
@@ -59,9 +59,9 @@ wait
echo
"Press any key when done using the file and you're sure that
$APPNAME
is closed."
read
-s
-n
1
# Encrypt again
# Encrypt again
. Unset RELATIVE_PATH as it was already used to determine FILE path
export
KEYRINGER_ADD_EXTENSION
=
false
keyringer_exec encrypt
"
$BASEDIR
"
"
$FILE
"
"
$TMPWORK
"
RELATIVE_PATH
=
""
keyringer_exec encrypt
"
$BASEDIR
"
"
$FILE
"
"
$TMPWORK
"
# Check exit status
errcrypt
=
"
$?
"
...
...
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