Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
password-store
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Karl Fogel
password-store
Commits
ec5eeec7
You need to sign in or sign up before continuing.
Commit
ec5eeec7
authored
12 years ago
by
Jason A. Donenfeld
Browse files
Options
Downloads
Patches
Plain Diff
Style fixes.
parent
96836e44
No related branches found
Branches containing commit
Tags
1.6
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
INSTALL
+0
-1
0 additions, 1 deletion
INSTALL
Makefile
+2
-2
2 additions, 2 deletions
Makefile
man/pass.1
+6
-4
6 additions, 4 deletions
man/pass.1
src/password-store.sh
+2
-1
2 additions, 1 deletion
src/password-store.sh
with
10 additions
and
8 deletions
INSTALL
+
0
−
1
View file @
ec5eeec7
...
...
@@ -12,4 +12,3 @@ BINDIR default: $(PREFIX)/bin
LIBDIR default: $(PREFIX)/lib
MANDIR default: $(PREFIX)/share/man
SYSCONFDIR default: /etc
This diff is collapsed.
Click to expand it.
Makefile
+
2
−
2
View file @
ec5eeec7
...
...
@@ -30,10 +30,10 @@ ifneq ($(strip $(wildcard $(PLATFORMFILE))),)
install-platform
:
@
install
-m
0644
-v
"
$(
PLATFORMFILE
)
"
"
$(
DESTDIR
)$(
LIBDIR
)
/password-store.platform.sh"
# The -i "" doesn't work on GNU, where the extra argument isn't needed. Fortuantely, platform file is for non-GNU only.
sed -i "" 's
:
.*platform-defined-functions.*:source $(DESTDIR)$(LIBDIR)/password-store.platform.sh:' $(DESTDIR)$(BINDIR)/pass
sed -i "" 's
:
.*platform-defined-functions.*:source $(DESTDIR)$(LIBDIR)/password-store.platform.sh:'
"
$(DESTDIR)$(BINDIR)/pass
"
else
install-platform
:
endif
uninstall
:
@
rm
-vf
$(
DESTDIR
)$(
BINDIR
)
/pass
$(
DESTDIR
)$(
MANDIR
)
/man1/pass.1
$(
DESTDIR
)$(
SYSCONFDIR
)
/bash_completion.d/password-store
$(
DESTDIR
)$(
LIBDIR
)
/password-store.platform.sh
@
rm
-vf
"
$(
DESTDIR
)$(
BINDIR
)
/pass
"
"
$(
DESTDIR
)$(
MANDIR
)
/man1/pass.1
"
"
$(
DESTDIR
)$(
SYSCONFDIR
)
/bash_completion.d/password-store
"
"
$(
DESTDIR
)$(
LIBDIR
)
/password-store.platform.sh
"
This diff is collapsed.
Click to expand it.
man/pass.1
+
6
−
4
View file @
ec5eeec7
.TH PASS 1 "2012 Sept 2" ZX2C4 "Password Store"
.TH PASS 1 "2012 Sept 2
4
" ZX2C4 "Password Store"
.SH NAME
pass - stores, retrieves, generates, and synchronizes passwords securely
...
...
@@ -36,8 +36,8 @@ the valid commands listed below.
Several of the commands below rely on or provide additional functionality if
the password store directory is also a git repository. If the password store
directory is a git repository, all password store modification commands will
cause a corresponding git commit. See the \fIEXAMPLE
S
\fP section
for an
extend
ed description using \fBinit\fP and
cause a corresponding git commit. See the \fI
EXTENDED GIT
EXAMPLE\fP section
for a detail
ed description using \fBinit\fP and
.BR git (1).
The \fBinit\fP command must be run before other commands in order to initialize
...
...
@@ -112,7 +112,9 @@ or \fI-f\fP is specified, do not interactively prompt before removal.
\fBgit\fP \fIgit-command-args\fP...
If the password store is a git repository, pass \fIgit-command-args\fP as arguments to
.BR git (1)
using the password store as the git repository.
using the password store as the git repository. If \fIgit-command-args\fP is \fBinit\fP,
in addition to initializing the git repository, add the current contents of the password
store to the repository in an initial commit.
.TP
\fBhelp\fP
Show usage message.
...
...
This diff is collapsed.
Click to expand it.
src/password-store.sh
+
2
−
1
View file @
ec5eeec7
...
...
@@ -209,7 +209,7 @@ case "$command" in
path
=
"
$1
"
if
[[
-d
$PREFIX
/
$path
]]
;
then
if
[[
$path
==
""
]]
;
then
if
[[
-z
$path
]]
;
then
echo
"Password Store"
else
echo
$path
...
...
@@ -350,6 +350,7 @@ case "$command" in
delete|rm|remove
)
recursive
=
""
force
=
0
opts
=
"
$(
$GETOPT
-o
rf
-l
recursive,force
-n
"
$program
"
--
"
$@
"
)
"
err
=
$?
eval set
--
"
$opts
"
...
...
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