Code Monkey home page Code Monkey logo

emacs-id-manager's Introduction

ID-password manager

What is id-manager?

This utility manages ID-password list and generates passwords.

The ID-password DB is saved in the tab-separated file. The default file name of the DB `idm-database-file' is "~/.idm-db.gpg". The file format is following:

(name)^t(ID)^t(password)^t(Update date "YYYY/MM/DD")[^t(memo)]

One can prepare an initial data or modify the data by hand or the Excel.

Implicitly, this elisp program expects that the DB file is encrypted by the some GPG encryption elisp, such as EasyPG or alpaca. The program EasyPG is included in Emacs 23 and later. One can find the program alpaca at: http://www.mew.org/~kazu/proj/cipher/alpaca.el

Excuting the command idm-open-list-command, you can open the ID-password list buffer. Check the command describe-bindings.

Installation

To use this program, locate this file to load-path directory, and add the following code to your .emacs.

(require 'id-manager)

If you have anything.el, bind `id-manager' to key, like (global-set-key (kbd "M-7") 'id-manager).

Setting example:

For EasyPG users:

(autoload 'id-manager "id-manager" nil t)
(global-set-key (kbd "M-7") 'id-manager)                     ; anything UI
(setq epa-file-cache-passphrase-for-symmetric-encryption t)  ; saving password
(setenv "GPG_AGENT_INFO" nil)                                ; non-GUI password dialog.

For alpaca users:

(autoload 'id-manager "id-manager" nil t)
(global-set-key (kbd "M-7") 'id-manager) ; anything UI
(setq idm-db-buffer-save-function ; adjustment for alpaca.el
      (lambda (file)
        (set-visited-file-name file)
        (alpaca-save-buffer))
      idm-db-buffer-password-var  ; if you are using `alpaca-cache-passphrase'.
        'alpaca-passphrase)

SAKURAI, Masashi m.sakurai atmark kiwanami.net

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.