Yet Another Team Password manager? Yes, but there are some unique features:
scriptability: API to get passwords from Tarkin in your scripts (using authentication token, no need to store username and password in a script)
unixability: command-line client and interactive shell (no need to run browser if you need some of your passwords!) as well as Ruby Gem with easy-to-use client class
high security: asynch AES-256 used to store passwords: password is encrypted with group public key, and group private key is ciphered by your public key, so to decrypt the stored password you need your own password to get your private key, which can decrypt the group private key, which is able to decipher the stored password.
manageability: standard users/groups model, web-based management (so far)
accessibility: mobile-friendly web (see demo on tarkin.tg.pl)
All passwords are crypted with AES-256 with the group public key. Group private key is ciphered by the user public key. User private key is crypte with user password. Thus, to decrypt the password, you must have user password - this password decrypts the user private key, with which system decrypts the groups private key, which is used to decrypt the password… Sounds complicated? Well, it is completely transparent for the user - you just need to remember your password.
This means that the only group members can read the stored passwords. There is no way to read it even if you have an access to the whole database. This also means that you can't loose you password to the system. There is no way to retrieve lost password.
UI is based on Zurb Foundation and it is compatible with mobiles.
You can group your passwords in Unix-like directories and use this folders in URLs to go directly to specified path.
See demo on tarkin.tg.pl to find out more
$ gem install tarkin
Tarkin API allows you to use it with your own scripts, so you don't need to store passwords with plain-text anymore and you have one centralized system for all passwords, so you need to change it only in one place.
To not store a password to tarkin in the script, you should generate a token, then you can use this token to authorize:
resp = conn.get("http://localhost:3000/_api/v1/_authorize", email: "firstname.lastname@example.org", password="password0") token = resp.body if resp.status == 200 #=> "vwbtYjEtZl4IY31HBfJbXD31EUdTLv4stnzVQG8AiiZDagQ3s2IIKcRp..."
or, using http authentication:
OS_TOKEN=`curl --user email@example.com:password0 "http://localhost:3000/_api/v1/_authorize"`
then to get specified password use URL: host/_api/v1/Unix-like-path
PASSWORD=`curl -H "Authorization: Token token=$OS_TOKEN" "http://localhost:3000/_api/v1/db/postgres/root"`
See all API documentation on www.tg.pl/tarkin
Sessions API (authentication) - www.tg.pl/tarkin/API/V1/SessionsController.html
Directories API (search, list) - www.tg.pl/tarkin/API/V1/DirectoriesController.html
Passwords API (get password) - www.tg.pl/tarkin/API/V1/ItemsController.html
Install Ruby version 2.2 or higher, as described in Ruby for Admins
Get Rails 4.2.1 from rubyonrails.com
git clone firstname.lastname@example.org:grych/tarkin.git
gem install bundler cd tarkin bundle install
vi config/database.yml bundle exec rake db:migrate rails console u = User.create first_name: "John", last_name: "Doe", email: 'email@example.com', password: 'password' u.add Group.new(name: 'Admins') Directory.create(name: 'root')
RAILS_ENV=production bin/rake assets:precompile bundle exec rake secret export TARKIN_SECRET_KEY_BASE=<generated secret> bundle exec rails server -d -e production --binding 127.0.0.1 -p 5000
The MIT License (MIT)
Copyright © 2015 Tomek Gryszkiewicz <firstname.lastname@example.org>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.