mayfrost-guides

mirror of https://github.com/mayfrost/guides
Log | Files | Refs | README | LICENSE

SECURITY.md (1698B)


      1 # SECURITY
      2 For the security checklist refer to https://github.com/mayfrost/guides/blob/master/CHECKLIST.md
      3 
      4 ## KPCLI
      5 Command line password manager, quite intuitive if you know the command line and designed for daily use.
      6 
      7 ### OUTSIDE KPCLI
      8 * get short help for the command line  
      9 `kpcli --help`
     10 * open kpcli  
     11 `kpcli`
     12 * open an existing database  
     13 `kpcli --kdb /location/of/database.kdb`
     14 
     15 
     16 ### INSIDE KPCLI
     17 * get commands cheatsheet  
     18 `help`
     19 * to create a database for the first time (dont forget to remember the master password you give it!)  
     20 `saveas DATABASE_NAME.kdb`
     21 * create new entry (will ask for information)  
     22 `new`
     23 * to show contents of an entry  
     24 `show ENTRY_NAME`
     25 * to show contents of an entry using its number on the list  
     26 `show ENTRY_NUMBER`
     27 * to show full contents of an entry including the password using its number on the list  
     28 `show -f ENTRY_NUMBER`
     29 * to edit an entry (will ask for information and create new password unless using interactive password setup!)  
     30 `edit ENTRY_NUMBER`
     31 * to copy the username of an entry to the clipboard  
     32 `xu ENTRY_NUMBER`
     33 * to copy the password of an entry to the clipboard  
     34 `xp ENTRY_NUMBER`
     35 * to copy the url of an entry to the clipboard  
     36 `xw ENTRY_NUMBER`
     37 * to clear the clipboard  
     38 `xx`
     39 * to search for an entry  
     40 `find NAME_OR_PATTERN`
     41 
     42 
     43 ## GPG
     44 File encryption.
     45 
     46 * generate keys for the first time, will ask for OPTIONAL information and let you decide encryption algorithm  
     47 `gpg --full-gen-key`
     48 * encrypt file for a recipient _RECIPIENT@SOMEWHERE.com_  
     49 `gpg -r RECIPIENT@SOMEWHERE.com -e file.txt`
     50 * don't forget to delete the original file and overwrite its former memory address  
     51 `shred -u file`
     52 * decrypt file  
     53 `gpg -d file.gpg`