Commits

Author Commit Message Labels Comments Date
Benjamin Althues
Move/symlink man-en/index.rst manpage.rst
Benjamin Althues
Some documentation nitpicking
Benjamin Althues
Do not use sphinx for generating user docs anymore Create only the developer documentation with Sphinx. The developer documentation is now in the README and the website.
Benjamin Althues
Update documentation
Benjamin Althues
Rename skel/dot.dispass -> skel/labelfile
Benjamin Althues
Update MANIFEST.in and labelfile example
ryuslash
Minor adjustments * dispass/filehandler.py (Filehandler.getDefaultFileLocation): Because `expanduser' is also called in the constructor this call is superfluous. When importing `exists' into the namespace there is no need to use its fully-qualified name.
ryuslash
Change the order of label file selection If the environment variable `DISPASS_LABELFILE' exists, use it. Otherwise, if the file in `$HOME/.dispass/' doesn't exist and either environment variable `XDG_DATA_HOME' or `APPDATA' exist, use that. If none of the above are true, use `$HOME/.dispass/'.
ryuslash
Don't add label if -c is not passed If the dispass utility doesn't get a `-c' switch, don't add and save whichever label has just been used.
ryuslash
Pass along filehandler
Benjamin Althues
Save labels to labelfile when using the -c option Try to add labels that are passed as arguments to labelfile, when passing the '-c, --create' flag. The labels will be saved along with any '-l', '-a', and/or '-n' argument. $ dispass -c -l 12 -a dispass2 -n 14 label_1 label_2 will display the passphrases and add the entries to the labelfile: +---------+--------+----------+--------+ | Label | Length | Algo | Number | +---------+--------…
Benjamin Althues
Update sphinx-doc/{en,nl}/devdoc.rst
Benjamin Althues
Change default file location to XDG_CONFIG_HOME A labelfile is a data file, but it is meant to be kept private. Therefore moving it to a subdir in .config seems to be a better option. IMPORTANT: The default file location for the labelfile on *nix is now '$HOME/.config/dispass/labels', if you are using the development version you will have to move it to this location manually or use the DISPASS_LABELFILE environment variable.
Benjamin Althues
Fix resetting defaults in cli
Benjamin Althues
Use global settings object for default values Define a new 'Settings' class for initializing default values for things like passphrase_length, algorithm and sequence_number. Create an instance of Settings at the earliest points, passing it around to the constructors of each component. This makes it possible to add support for initializing values from a settings file, only having to parse it once.
Benjamin Althues
Move DispassLabel into dispass.py Move DispassLabel into dispass.py, removing dispass_label.py
Benjamin Althues
Define usage/main of dispass-label in new class
Benjamin Althues
Try to create labelfile if it does not exist If labelfile could not be opened, prompt the user if he/she wishes to create it. Print a notice if labelfile is empty.
Benjamin Althues
Update ChangeLog
Benjamin Althues
Update documentation, adding acknowledgements
ryuslash
Create dictionary from labelfile Lists aren't as easily searched as dictionaries, but `algodict' still has no more guarantee that it will contain all labels.
ryuslash
Use APPDATA when XDG_CONFIG_HOME doesn't exist The `APPDATA' variable in Windows is somewhat similar to `XDG_CONFIG_HOME'.
ryuslash
Use labelfile instead of algodict in gui Algodict might not have contained all labels since not all labels would use the `dispass1' algorithm.
Benjamin Althues
Define usage/main of dispass in new Dispass class
Benjamin Althues
Rename FileHandler class -> Filehandler
Benjamin Althues
Rename labelfile.py -> filehandler.py
Benjamin Althues
Import FileHandler/CLI/GUI in namespace For classes that are defined 'alone' in a module with the same name it is more flexible to just import these in the namespace.
Benjamin Althues
Replace algodict for labelfile in printLabels
Benjamin Althues
Move call to expanduser into __init__
Benjamin Althues
Update printLabels docstring Support for multiple hashing algos is added.
  1. Prev
  2. Next