Skip to content

BashPass 3.3

Latest
Compare
Choose a tag to compare
@AntonVanAssche AntonVanAssche released this 17 May 18:40
3.3

Version 3.3 has arrived! This release focuses on code improvements and removing unnecessary settings.

The main script has been refactored for better readability and security. Unnecessary settings have been removed, and more local variables are used to reduce the global scope and prevent potential conflicts. Variables containing settings are now readonly to avoid accidental changes.

The configuration file has been simplified, now containing only essential settings: the GPG key ID, default password length, default password store, and timer. If the configuration file is missing or incomplete, the script can fall back on default settings, making BashPass easier to use without configuration file edits.

The need to specify an email address in the configuration file has been removed, as it wasn't necessary for encryption/decryption, which only requires the GPG key ID.

The Git repository URL setting is no longer needed for the sync feature. If a .git directory is found in the password store, the script will automatically use it.

A Bash completion script has been added for tab completion of the main script. This script must be installed manually and is not included in the make install command. However, the new rpm and deb packages will install the completion script automatically, requiring the user to source it in their shell configuration file.

Here's what's new:

Added:

Updates:

  • Refactored the main script for better readability and security. (e040166)
  • Removed uneccessary sudo/doas calls during install. (6896d75)
  • Re-wrote the man-page for better readability, and reflect the changes in the script. (316d591 and b69f480)
  • Re-wrote the documentation for better readability, and reflect the changes in the script. (0e32920)
  • Re-wrote contributing guidelines. (b971066)
  • Only publish wiki-pages on new tag creation. (167c09d)

Removed:

  • Default configuration settings for email address and Git repository URL. (88dbbe2 and b6391de)
  • Default configuration file. (906fc72)

Full Changelog: 3.2...3.3

Info:

The dependencies for this release are:

  • bash >= 3.0

Password encryption:

  • gpg or gpg2

Clipboard support:

  • X11
    • xclip or xsel
  • Wayland
    • wl-clipboard
  • macOS:
    • pbcopy

Synchronization support:

  • git

Which systems are supported:

Technically, all (UNIX) systems on where Bash is installed are supported. This means:

  • Most Linux distributions
  • Most BSD variants
  • macOS

Plans for next release

To be continued...