Code Monkey home page Code Monkey logo

pass.ps1's Introduction

PowerPass

This is a powershell adaptation of zx2c4's password-store.

Tests

In the artifacts directory there is a completely known pgp key and a test store. the key will need to be imported into the key ring of the system running the test past that there are no other requirements to run the tests.

Get-PassCredential

This will retrieve and decryp credentials in the password vault. It only has one mandatory paramater which is -name

Name

This is the name of the credential you want to decrypt. As an example if you have a cred in the vault that is in bob.gpg you would select bob here and it would decrypt bob.gpg and load it into the clipboard or create a PSCredential object out of it.

ClearTime

By default we copy the password to the clipboard and really it is not a great idea to have a password chilling in your clipboard. So to kill the password we fork a background process and attempt to clear the clipboard after the time specified here. This is an interger in seconds.

Default is: 10

AsPSCredential

This is a switch that tells Get-PasswordValue to emit a PSCredential object instead of to the clipboard

GPGPath

This is where gpg2 is installed on your machine.

Default is: (Get-Command -Name gpg2|Select -first 1).Source

Path

This is where your password store sits.

Default is: ~/.password-store

Show-PassList

This gives you a list of all the credentials in your password store

Path

This is where your password store sits.

Default is: ~/.password-store

pass.ps1's People

Contributors

kusuriya avatar qbit avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.