feat(fnox): 別PCの age 公開鍵を recipients に追加して再暗号化#49
Merged
Conversation
fnox reencrypt が KEY= { 形式で書き戻すため vp check が落ちる。KEY = { へ整形(vp check --fix 済み)。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
別PC(会社PC)の age 公開鍵
age1eelp2td…qyad8n3をdot_config/fnox/config.tomlの recipients に追加し、全 secret を両 recipient 宛に再暗号化。新PCのキーチェーン
service=fnox / account=age-keyで個人/共有 secrets を復号できるようになる。変更
feat(fnox): recipients に公開鍵を1つ追加chore(fnox): 既存4 secret を両 recipient 宛に再暗号化NODE_AUTH_TOKEN/K35O_BOT_CLIENT_ID/K35O_BOT_APP_ID/K35O_BOT_PRIVATE_KEY検証
適用後
新PCで
chezmoi update→ 対応する秘密鍵がキーチェーンにあれば復号可能。