> It can't work with X, but use of GPG instead of creating new encryption > scheme is interesting. So the only thing to implement is secure use of > X11 clipboard and integration with GPG or some PGP library.
Perhaps you could alter the script to pipe the nth line into xsel, or change the format of the 'database' e.g. gmail hunter2 supersecritsight.org 1234 and prompt the user for a site? (man read, xmessage?) >From xsel's man page: -t ms, --selectionTimeout ms Specify the timeout in milliseconds within which the selection must be retrieved.