Encrypted Bundles
Copy a setup prompt with the install steps and the full markdown guide for this plugin.
End-to-end Encryption
Section titled “End-to-end Encryption”Starting with version 4.15.0 the plugin allows you to send encrypted updates.
Step 1: 개인 키를 생성하세요
Step 1: 개인 키를 생성하세요npx @capgo/cli key createStep 2: 배포용 ZIP 파일을 생성하고 압축하세요
Step 2: 배포용 ZIP 파일을 생성하고 압축하세요npx @capgo/cli bundle zip [appId] --key-v2 --jsonThe --key-v2 새로운 암호화 시스템을 사용하는 플래그가 있습니다. 이 플래그는 체크섬이 포함된 배포 정보를 출력합니다. --json Step 3: 배포용 ZIP 파일을 암호화하세요
Step 3: 배포용 ZIP 파일을 암호화하세요
Step 3: 암호화된 번들을 암호화하십시오npx @capgo/cli encrypt [path/to/zip] [checksum]The checksum parameter는 step 2에서 zip 명령어로 생성된 SHA256 체크섬입니다. encrypt 명령어는 체크섬을 암호화하고 ivSessionKey 와 암호화된 체크섬을 생성합니다. 체크섬을 업데이트할 때 ivSessionKey key를 다시 이름을 지어 session_key 로 지정하십시오.
Step 4: 업데이트할 때 사용하십시오
Section titled “Step 4: 업데이트할 때 사용하십시오”{"version": "1.2.3","url": "https://myserver.com/app/updates/my-new-app-2.0.0.zip","session_key": "encrypted_session_key","checksum": "encrypted_checksum_from_encrypt_command"}The session_key 은 __CAPGO_KEEP_0__에서 반환되며, encrypt 명령어에 의해 암호화된 것입니다. ivSessionKey 은 암호화 중에 생성된 체크섬입니다. (zip 명령어에서 얻은 원래 체크섬이 아닙니다). checksum Then your app will be able to use the private key to decrypt the
을 사용하여 session_key 을 사용하여 업데이트를 암호화합니다. session_key 은 업데이트의 무결성을 확인하기 위해 암호화된 체크섬입니다.
Learn More
Self-hosted Live Updates__CAPGO_KEEP_0__
__CAPGO_KEEP_1____CAPGO_KEEP_0__ __CAPGO_KEEP_1__ __CAPGO_KEEP_0__ Using @capgo/capacitor-updater for the native capability in Using @capgo/capacitor-updater, __CAPGO_KEEP_1__ __CAPGO_KEEP_0__ __CAPGO_KEEP_1__ __CAPGO_KEEP_0__ Capgo Security Scanner 제품 워크플로우에서 Capgo 보안 스캐너를 사용하고 Capgo 보안 제품 워크플로우에서 Capgo 보안을 사용하고