commit 4c6fe52be63de7ff9c1e6070b8d3955a5754a6eb
Author: Naveen Narayanan zerous <zerous@nocebo.space>
Date: Sun, 10 Dec 2017 09:34:10 +0300
Initial commit
Diffstat:
LICENSE | | | 13 | +++++++++++++ |
README | | | 56 | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
pass.c | | | 10 | ++++++++++ |
3 files changed, 79 insertions(+), 0 deletions(-)
diff --git a/LICENSE b/LICENSE
@@ -0,0 +1,13 @@
+© 2017-2019 Naveen Narayanan <zerous@nocebo.space>
+
+Permission to use, copy, modify, and distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/README b/README
@@ -0,0 +1,56 @@
+# currently only supports OpenBSD
+* make
+* install
+
+Documentation:
+* With pass, each password lives inside of a gpg encrypted file whose filename is
+ the title of the website or resource that requires the password.
+* These encrypted files may be organized into meaningful folder hierarchies,
+ copied from computer to computer, and in general, manipulated using standard
+ command line file management utilities.
+* All passwords live in ~/.password-store and pass provides some nice commands
+ for adding, editing, generating, and retrieving passwords.
+* You can edit the password store using ordinary unix shell commands alongside
+ the pass command.
+
+To be implemented:
+* initialize password store
+* show password
+* copy password to clipboard; -c
+* add existing password to the store using insert
+* generate password
+* remove password
+
+Potential Libraries:
+* GPGME
+
+Personal Development:
+* Knowledge in cryptography
+* Knowledge in algorithms
+* a utility I can use and share
+
+flags:
+init: initialize new password store and use gpg-id for encryption
+ls: list names of passwords inside the tree at subfolder by using tree(1)
+grep: searches inside decrypted password file for search-string and displays
+ line containing matched string along with filename. (uses grep(1))
+find: List names of passwords inside the tree that match pass-name by using
+ the tree program.
+show: decrypt and print a password. If -c is specified, xclip is used and then
+ restore the clipboard after 45 sec.
+insert: insert a new password into the password store.
+rm: remove the password from the password store.
+mv: renames the password or directory named old-path to new-path
+help: Show usage message
+ver: Show version information
+
+
+Notes:
+* standard password store only supports gpgv2
+
+GnuPG Functions:
+gpg encrypt
+gpg decrypt
+
+OpenBSD perks:
+pledge
diff --git a/pass.c b/pass.c
@@ -0,0 +1,10 @@
+#include <stdio.h>
+#include <string.h>
+
+int
+main (int argc, char** argv)
+{
+
+
+ return 0;
+}