Skip to content

서명된 자동 업데이트 추가 - #3

Merged
exemchs merged 1 commit into
mainfrom
agent/automatic-updates
Jul 27, 2026
Merged

서명된 자동 업데이트 추가#3
exemchs merged 1 commit into
mainfrom
agent/automatic-updates

Conversation

@exemchs

@exemchs exemchs commented Jul 27, 2026

Copy link
Copy Markdown
Owner

변경 내용

  • Sparkle 2.9.2를 연결해 6시간마다 GitHub Release의 새 버전을 확인합니다.
  • 업데이트는 EdDSA 서명을 추출 전에 검증하고 백그라운드로 내려받습니다.
  • Sparkle.framework를 앱 번들에 포함하고 기존 Cue 로컬 서명으로 전체 번들을 서명합니다.
  • 업데이트 ZIP과 appcast 생성·서명·검증을 Scripts/build-update.sh로 자동화했습니다.
  • 설치, 자동 업데이트, 개인정보 처리, 배포 키 관리 문서를 현재 구조에 맞게 고쳤습니다.

이유

기존에는 팀원이 저장소를 직접 받고 매번 다시 빌드해야 했습니다. 이제 공유 앱을 한 번 설치하면 이후 버전은 Cue가 확인하고, 같은 코드 서명과 설치 경로를 유지해 macOS 권한이 반복해서 풀리지 않도록 합니다.

확인

  • swift package clean && swift build -c release
  • ./Scripts/build-update.sh
  • 앱 번들 및 릴리스 ZIP의 중첩 코드 서명 검증
  • ZIP 압축 무결성 검사
  • appcast의 EdDSA 서명 검증
  • 테스트용 Cue 0.8.6이 로컬 appcast의 0.8.7을 받아 자기 앱을 교체하고 build 43으로 다시 실행하는 전체 업데이트 테스트

@exemchs
exemchs marked this pull request as ready for review July 27, 2026 08:23
@exemchs
exemchs merged commit c366bd8 into main Jul 27, 2026
1 check passed
@exemchs
exemchs deleted the agent/automatic-updates branch July 27, 2026 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant