Giter Site home page Giter Site logo

blowyaml's Introduction

Build Status

Quick script to encrypt and decrypt a YAML file storing passwords with the Blowfish algorithm. The YAML file is used to store accounts' login credentials. As its format is customized to my own needs, Blowyaml is more an example than a real use case. In any way, I hope it's at least of some inspiration to you.

Requirements

  • pycrypto
  • pyyaml

YAML file format

I'm using a customized way to keep login informations in the YAML format. Blowyaml is based on this so _it works for me_โ„ข.

Basically there is a key (the one you search for with Blowyaml's -s switch) that contains 1 or more (in the case of multiple accounts to the same site) associative arrays with the login name, password, url etc. A visual example will be clearer

Sitename: { url: www.thissite.com, name: "myloginname", password: "mypassword"}

this is the basic. For multiple accounts I chose

Sitename: { url: www.thesite.com,
	Account1: { name: "loginname1", password: "password1"},
	Account2: { name: "loginname2", password: "password2"},
}

and so on. Self-explanatory.

Occasionally I add a

disabled: true

at the end of the array to mark sites that I don't use anymore. It may be because the site died some time ago (and I like to keep login credentials anyway just to remember what passwords I already used) or because I don't find it useful anymore but it doesn't allow deleting the account (damn you!)

Todo

  • Python3 support

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.