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