Giter Club home page Giter Club logo

Comments (5)

pvanderknyff avatar pvanderknyff commented on August 14, 2024

jarsigner -verify is not enough, it will verify tacos that are not properly signed. You'll need to run the following command to full validate your taco:
jarsigner -verify -verbose -certs -strict test.taco

The -strict flag is the important one. The error you see about the PKIX path building failed will need to be addressed before the taco will load, that is an issue with the certificate and not the Connector SDK.

More detail on signing process can be found here: https://tableau.github.io/connector-plugin-sdk/docs/package-sign

from connector-plugin-sdk.

roshanrajan-test avatar roshanrajan-test commented on August 14, 2024

Hi @pvanderknyff
I was able to get it verified with all the switches and command below:
jarsigner -verify -verbose -certs -strict test.taco

Still it doesnt work in Tableau Desktop 2023.1.5.
Checking logs for more clues now.

from connector-plugin-sdk.

pvanderknyff avatar pvanderknyff commented on August 14, 2024

Yeah, the error you posted shows that something is wrong with the certificate. The strict flag makes sure that it won't be labeled as "verified", without the strict flag jarsigner just checks if the file is signed, not that the signature is valid. The taco will not load until jarsigner with the strict flag shows jar verified and no errors/warnings.

You may need to update your JDK, some warnings are now considered errors in later versions.

from connector-plugin-sdk.

roshanrajan-test avatar roshanrajan-test commented on August 14, 2024

@pvanderknyff
I was able to fix the error that I was getting when I submitted this issue.
Also as per your suggestion I installed the latest jdk 22 to sign the jar.
Now the only warning I get is "This jar contains signatures that do not include a timestamp"
Attached screenshot for refernce.

VerifyWarning

from connector-plugin-sdk.

roshanrajan-test avatar roshanrajan-test commented on August 14, 2024

Hi @pvanderknyff
Would you like me to open another issue or help me reopen this since the issue is not fixed yet?
On the side I have raised a ticket with Tableau Support and provided Desktop logs.

from connector-plugin-sdk.

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.