Releases: sschmid/pw-terminal-password-manager
pw-10.0.0
Upgrading to pw 10.0.0
The .pwrc
format has changed to an INI-like format. pw
can automatically
migrate your .pwrc
to the new format:
[config]
password_length = 35
password_character_class = [:graph:]
clipboard_clear_time = 45
[plugins]
$PW_HOME/plugins/gpg
$PW_HOME/plugins/keepassxc
$PW_HOME/plugins/macos_keychain
[keychains]
secrets.keychain-db
~/path/to/myproject.keychain-db
~/path/to/keepassxc.kdbx
~/path/to/gpg/secrets
The new format includes config
, plugins
, and keychains
sections. The
config
section includes password_length
, password_character_class
, and
clipboard_clear_time
. You can still override these values with the environment
variables PW_GEN_LENGTH
, PW_GEN_CLASS
, and PW_CLIP_TIME
respectively.
Additionally, with the new plugin section, you now have fine-grained control
over the plugins you want to use. You can specify your own plugins in addition
to the default plugins provided by pw
.
Added
- Set
SHELL
withtype -p bash
Changed
- Change
pwrc
to INI-like format includingconfig
,plugins
, andkeychains
sections - Move plugins out of
src
folder
Other
- Run tests and coverage in parallel
pw-9.2.3
pw-9.2.2
pw-9.2.1
pw-9.2.0
pw-9.1.1
pw-9.1.0
Upgrading to pw 9.1.0
In order to increase security, the macos_keychain
plugin won't automatically
add the security
command to the keychain's access control list anymore.
Typically, when accessing keychain items added by other applications, the user
is prompted to allow
or always allow
access. However, when keychain entries are
added using the security
command itself, the command is automatically granted
access to those items without future prompts. This can be a security risk, because
other applications can use the security
command to access these items without
prompting the user.
pw
changes this behaviour to reduce security risks by not automatically adding
the security
command to the keychain's access control list. This way you have
full control over which applications can access your keychain items and decide
whether to allow or deny access.
If you want to add the security
command to the keychain's access control list
by default, you can set the environment variable
PW_MACOS_KEYCHAIN_ACCESS_CONTROL
to always-allow
:
export PW_MACOS_KEYCHAIN_ACCESS_CONTROL="always-allow"
Added
- Add
PW_MACOS_KEYCHAIN_ACCESS_CONTROL
to control access control list behavior - Add "Security Considerations" section to readme
Changed
macos_keychain
: Don't addsecurity
command to access control list by defaultmacos_keychain
: Don't unlock keychain for fzf previewgpg
: Don't unlock keychain for fzf preview
pw-9.0.0
Upgrading to pw 9.0.0
In order to increase security, plugins are no longer sourced. Instead they are
executed as separate scripts. This change also makes it easier to write and
maintain plugins. Please migrate your custom plugins to the new format.
Additionally, .pwrc
is also no longer sourced and has been replaced by a
new format. pw
can automatically migrate your .pwrc
to the new format:
~/path/to/myproject.keychain-db
~/path/to/keepassxc.kdbx
~/path/to/gpg/secrets
Added
- Added
.pwrc
migration - Script optimizations
- Explicit variable declarations and strict scoping
Changed
- Plugins are no longer sourced
- Plugins functions have been extracted to separate files
.pwrc
is no longer sourced and has a new format.pwrc
is no longer created by default and is optional
Removed
- Removed redirecting from tty
- Deleted sample plugin
pw-8.2.1
pw-8.2.0
Added
- Add
pw show
to show details - Add fzf shortcut
CTRL-Y
to copy (or print) details - Add fzf shortcut
?
to toggle preview and make preview hidden by default - Sort discovered keychains
- Display error message when no keychain was set
macos_keychain
: Show name, account, url and notes in fzf previewkeepassxc
: Enable yubikey and key-file fzf previewgpg
: Add name to fzf preview
Fixed
- Fix password prompt did trim whitespace
- Support multiline notes when adding new entry interactively
Changed
- Sort using users default
LC_ALL
Removed
- Remove login.keychain-db as default keychain