Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Invalid Base64 Byte #792

Closed
tungs0ul opened this issue May 11, 2024 · 1 comment
Closed

Error Invalid Base64 Byte #792

tungs0ul opened this issue May 11, 2024 · 1 comment

Comments

@tungs0ul
Copy link

tungs0ul commented May 11, 2024

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==
@tungs0ul
Copy link
Author

maybe my private key or password is wrong. I got this to work

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

No branches or pull requests

1 participant