| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
Does the same thing as the `dispass' command, except it inserts the
results into the current buffer, instead of copying them into the
clipboard. This is useful when Emacs asks for a password and thus skips
the clipboard and `kill-ring'.
Using the universal argument is not possible because the prefix argument
is already used to determine the required length of the generated
passphrase.
|
| |
|
|
|
|
| |
This offers better options for testing.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
The option `dispass-labelfile' specifies the labelfile you would like
to use instead of the one provided by DisPass itself.
These changes should be cleaned up later, but for now it works.
|
|
|
|
| |
Should not have been left in there.
|
|
|
|
|
|
|
|
|
| |
When dealing with an unknown label, creating a new label or adding a
label to the label file, ask for a sequence number and pass it to
DisPass. Only the `dispass2' algorithm uses this, but the `dispass1'
algorithm ignores it, so it shouldn't be a problem to just always send
it. Eventually the capabilities of each algorithm should be gathered
from DisPass itself.
|
|
|
|
|
|
|
| |
DisPass has supported more than one algorithm for some time already,
but how to specify which algorithm to use was not quite clear. Now it
should use the correct algorithm and when specifying an unknown label
it will ask for the preferred algorithm.
|
| |
|
| |
|
|
|
|
|
|
| |
To keep terminology in line with the internal workings of DisPass,
hash(method) should be replaced by algo or algorithm, depending on the
situation.
|
|
|
|
|
|
|
|
| |
By calling `dispass-label' with it's brand spankin' new `--add' and
`--remove' switches the `dispass-add-label' and `dispass-remove-label'
functions can be greatly simplified. This also removes the need for
the `dispass-file', which assumed the file was in `~/', though that is
not the default case with DisPass anymore.
|
|
|
|
|
|
| |
When looking at dispass.el through ELPA it was not clear that
dispass.el is only a wrapper around DisPass and does not actually do
any of the work itself.
|
|
|
|
| |
There were some things left unexplained in it.
|
|
|
|
|
| |
Remove everything from dispass.el that is also in README.org and place
the change log list in the NEWS file.
|
| |
|
| |
|
|
|
|
|
|
|
| |
The way `shell-command' was being used would open a new window every
time `dispass-get-labels' would get called, so now use
`shell-command-to-string' in combination with `insert' in order to
prevent that from happening.
|
|
|
|
|
| |
Any recent version of dispass will add the label to the labelfile when
the `-c' flag is passed to it.
|
|
|
|
| |
Let the sentinel handle that, not the filter.
|
|
|
|
| |
Remove any leading and trailing whitespace and add a single space.
|
|
|
|
|
| |
Using `dispass-labels' and parsing its results is probably better than
reading and parsing the file itself.
|
| |
|
|\ |
|
| |
| |
| |
| |
| | |
* dispass.el (dispass-labels--refresh): Store information once and
reuse.
|
| |
| |
| |
| | |
`encryption' and `security' don't seem to be acceptable keywords.
|
| |
| |
| |
| |
| |
| | |
* dispass.el (dispass-labels-mode): Remove the key definition for
`dispass-create', it is already defined in
`dispass-labels-mode-map'.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
* dispass.el (dispass-remove-label): Only remove a label if it has
been found and don't throw an error when it hasn't.
|
| |
| |
| |
| |
| |
| |
| |
| | |
* dispass.el (dispass-remove-label): Removes the given or pointed-at
label from `dispass-file'. When no label is found it will throw an
error.
(dispass-labels-mode-map): Add binding for `dispass-remove-label'.
|
| |
| |
| |
| |
| | |
* dispass.el (dispass-labels--refresh): Change the regular expression
used to allow `-' and `_' in the label names.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* dispass.el (dispass-labels-mode-map): Add direct keybinding for
`dispass-add-label' so it is not required to always call
`dispass-create'.
(dispass-create): Call `dispass-add-label' in order to automatically
insert newly created labels.
(dispass-add-label): Adds a new label definition at the end of
`dispass-file' and when `major-mode' is `dispass-labels-mode'
reverts the buffer to show the changes.
|
| |
| |
| |
| |
| |
| |
| |
| | |
* dispass.el (dispass-default-length): Add default length to pass
along to DisPass setting.
(dispass-create): Use `dispass-default-length' when LENGTH is
empty.
|
| |
| |
| |
| | |
If the keymap isn't returned, it doesn't work.
|
| |
| |
| |
| |
| | |
When calling `dispass-list-labels' the new buffer should be selected,
not _just_ shown.
|
| | |
|
| |
| |
| |
| |
| | |
Since the prompt for dispass has changed in v0.1a8 the process filter
didn't recognize the second prompt anymore.
|
| | |
|
| |
| |
| |
| |
| |
| | |
When a label is clicked on, or <RET> is pressed while the cursor is on
it, the `dispass' function is called with the appropriate label and
length.
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
|
|
| |
By using `defgroup' and `defcustom' the variable (and possible later
variables) can be changed through Emacs' extensive customization
interface.
M-x customize-group <RET> dispass <RET>
Will show you the variables that can be changed for dispass.el.
|
|
|
|
|
|
| |
Using a numeric prefix argument when calling either `dispass' or
`dispass-create' will invoke dispass with the -l switch to cut
passwords down to a certain size.
|
| |
|
|
dispass.el is an emacs wrapper script for dispass, it provides the
ability to recall or create the passwords.
|