Error Invalid Base64 Byte
tungs0ul opened this issue · comments
this is my workflow file:
env:
GITHUB_TOKEN: ${{ secrets.TAURI_RELEASE_TOKEN }}
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
with:
tagName: app-v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version.
releaseName: 'App v__VERSION__'
releaseBody: 'See the assets to download this version and install.'
releaseDraft: false
prerelease: false
owner: [my-id]
repo: [my-public-repo]
args: ${{ matrix.args }}
this is the json output
{
"version": "1.0.1",
"notes": "See the assets to download this version and install.",
"pub_date": "2024-05-11T09:24:36.967Z",
"platforms": {
"windows-x86_64": {
"signature": "dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUlVTRURVUm1GL29LZ09PeDZSSDB1RzJpNjZSaWw5ZWU3T2REaCtRWDRGU2RqWlFSWXphQmM5dmVRSUlMYUVqYW80Q3lELzM2QWJ3Mk1sUmNKZGJ5bThRUlQ2d29KUUVFVVFrPQp0cnVzdGVkIGNvbW1lbnQ6IHRpbWVzdGFtcDoxNzE1NDE5NDc0CWZpbGU6RDpcYVxtYW5hZ2VtZW50XG1hbmFnZW1lbnRcc3JjLXRhdXJpXHRhcmdldFxyZWxlYXNlXGJ1bmRsZS9tc2kvUGhvUGhhbl8xLjAuMV94NjRfZW4tVVMubXNpLnppcApaWVQzcDd6RjFEUXg5UngzS0IyWFV2aENzemh5ZVFzNklTNVcwdk90Si9PRTdFdlRPRFRIVGF6QWpFVnlJMXNBSWhHOTZEL0I4TkFxZTFSdzg5cW1BQT09Cg==",
"url": "https://github.com/tungs0ul/releases/releases/download/app-v1.0.1/PhoPhan_1.0.1_x64_en-US.msi.zip"
}
}
}
I don't know what cause the problem. The decoded signature looks like this
untrusted comment: signature from tauri secret key
RUSEDURmF/oKgOOx6RH0uG2i66Ril9ee7OdDh+QX4FSdjZQRYzaBc9veQIILaEjao4CyD/36Abw2MlRcJdbym8QRT6woJQEEUQk=
trusted comment: timestamp:1715419474 file:D:\a\management\management\src-tauri\target\release\bundle/msi/PhoPhan_1.0.1_x64_en-US.msi.zip
ZYT3p7zF1DQx9Rx3KB2XUvhCszhyeQs6IS5W0vOtJ/OE7EvTODTHTazAjEVyI1sAIhG96D/B8NAqe1Rw89qmAA==
maybe my private key or password is wrong. I got this to work