Giter Site home page Giter Site logo

[bug] Signature decoding error about tauri HOT 4 CLOSED

sawsoh avatar sawsoh commented on June 16, 2024
[bug] Signature decoding error

from tauri.

Comments (4)

amrbashir avatar amrbashir commented on June 16, 2024 1

it should look like this, notice the signature field is set to the contents of the .sig file not a URL to it

{
  "version": "1.1.3",
  "pub_date": "2024-05-09T12:29:53+01:00",
  "notes": "Updater Modifications",
  "platforms": {
    "windows-x86_64": {
      "signature": "dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUlVSTWJEcEZsb0krU3JUUGxXdGxxT0dNVmJUMTF5Z1ZrWjdTZmR5VmVWd0huVG42SzVOa0w2VytFODVrelVUNSs4aUhUa0VFQ2xOd0gwbEVEZ2wyQlRycVJYZ1pQRTJoMkFZPQp0cnVzdGVkIGNvbW1lbnQ6IHRpbWVzdGFtcDoxNzE1MjQ2MDI1CWZpbGU6di1mcmFtZV8xLjEuMl94NjRfZW4tVVMubXNpLnppcApNQyszaTdvcmsvc1BueVVxaUJLeUJ2ZDI0THBmM0ZEek50aW8wNHJQcVptK3hTeE91QTFCM1hzVXpaVkNRVlZ1alZlUmxyeTRmdnM4V0VDMndYR1pEUT09Cg==",
      "url": "https://v-sing-malaysia-picture.s3.ap-southeast-1.amazonaws.com/v_frame/v-frame_1.1.2_x64_en-US.msi.zip"
    }
  }
}

from tauri.

amrbashir avatar amrbashir commented on June 16, 2024

your updater.json includes the signature as a URL to the signature file but it expects the contents of the signature file not a URL to it.

from tauri.

sawsoh avatar sawsoh commented on June 16, 2024

your updater.json includes the signature as a URL to the signature file but it expects the contents of the signature file not a URL to it.

Thx but how do I actually can get the content, or how the updater.json should looks like 😵

from tauri.

sawsoh avatar sawsoh commented on June 16, 2024

it should look like this, notice the signature field is set to the contents of the .sig file not a URL to it

{
  "version": "1.1.3",
  "pub_date": "2024-05-09T12:29:53+01:00",
  "notes": "Updater Modifications",
  "platforms": {
    "windows-x86_64": {
      "signature": "dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUlVSTWJEcEZsb0krU3JUUGxXdGxxT0dNVmJUMTF5Z1ZrWjdTZmR5VmVWd0huVG42SzVOa0w2VytFODVrelVUNSs4aUhUa0VFQ2xOd0gwbEVEZ2wyQlRycVJYZ1pQRTJoMkFZPQp0cnVzdGVkIGNvbW1lbnQ6IHRpbWVzdGFtcDoxNzE1MjQ2MDI1CWZpbGU6di1mcmFtZV8xLjEuMl94NjRfZW4tVVMubXNpLnppcApNQyszaTdvcmsvc1BueVVxaUJLeUJ2ZDI0THBmM0ZEek50aW8wNHJQcVptK3hTeE91QTFCM1hzVXpaVkNRVlZ1alZlUmxyeTRmdnM4V0VDMndYR1pEUT09Cg==",
      "url": "https://v-sing-malaysia-picture.s3.ap-southeast-1.amazonaws.com/v_frame/v-frame_1.1.2_x64_en-US.msi.zip"
    }
  }
}

Thx so much for correcting me on the path, instead of just enter URL, I have to open the sig file and paste the content inside. Maybe I was confused by the doc

from tauri.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.