sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply $GITHUB_USERNAMECommand Palette -> Open Settings -> dotfiles
dotfiles.repository: "OWNER/dotfiles",
dotfiles.installCommand: "~/dotfiles/path-to-installer.sh",makeThis runs chezmoi apply to sync dotfiles.
- Download the GPG private key from your backup.
gpg --import /path/to/downloaded_gpg_private_key- Check the subkey with
gpg --list-secret-keys --keyid-format LONG. gpg --edit-key --expert {SEC_FINGERPRINT}- Select the target key with
gpg> key {SUBKEY_KEYID}. - Run
gpg> expire, then enter a new expiration date. - Enter the passphrase.
gpg> save- For security, delete the master private key.
gpg --export-secret-subkeys {FINGERPRINT} > /path/to/exported-subkeys-only.gpggpg --delete-secret-keys {FINGERPRINT}gpg --import /path/to/exported-subkeys-only.gpg- Check with
gpg --list-secret-keys --keyid-format LONG {FINGERPRINT}