Repository navigation
fix(sync): 리눅스 polkit 확인이 항상 거절되던 문제, v0.3.3 - #14
Merged
Merged
Conversation
polkit 121 부터 신뢰하지 않는 호출자가 CheckAuthorization 에 details 를 넘기면 거절한다(pkcheck exit 127). kc 는 --detail polkit.message 로 이유를 넘기고 있어 리눅스의 sync add·review·resolve 가 암호를 묻기도 전에 실패했다. details 를 빼고, polkit 창에는 exec 액션의 일반 문구만 보이므로 확인하려는 작업을 터미널에 먼저 출력한다(7개 언어). SECURITY.md 에 일반 문구를 적었다. 실기기(Omarchy, polkit 127)에서 pkttyagent 로 sync add 와 다른 인스턴스의 sync review 수락까지 끝-끝 확인. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
문제
polkit 121 부터 신뢰하지 않는 호출자가
CheckAuthorization에 details 를 넘기면 거절한다. kc 는pkcheck --detail polkit.message <이유>를 넘기고 있어, 리눅스에서kc sync add·review·resolve가 암호를 묻기 전에 항상 실패했다(exit 127, "Only trusted callers … can … pass details"). 실패 시 거절 쪽이라 보안 문제는 아니지만 리눅스 동기화를 쓸 수 없었다.수정
--detail polkit.message제거docs/SECURITY.md에 일반 문구 명시검증
sync add→ 다른 인스턴스 Bsync review수락 → B 에서 값 확인까지 끝-끝 통과-D warnings·kc-cli 테스트 통과, Linux clippy·local_auth 테스트 통과🤖 Generated with Claude Code