Code Monkey home page Code Monkey logo

format-ripper's Issues

machO chain signature verification not working

SignedMessageVerifier.VerifySignatureAsync fails for machO signed files, when verificationParams.BuildChain = true.

Verification fails with message "ERROR: Build chain for certificate was failed. Issuer= unable to find valid certification path to requested target" with result of InvalidChain instead of expected Valid

Relevant test MachoSignatureVerifierTests.VerifySignWithChainTest is added in #15.

.NET - Msi Signature Valid after patching Property->ProductName

Hello, I stumbled upon this behavior, I don't think it's expected. Can you please take a look? Thank you.

Repro steps:

  • Copy data\msi\2dac4b.msi to data\msi\2dac4b_broken_productname.msi
  • Open data\msi\2dac4b_broken_productname.msi in Orca
  • Change Property->ProductName from Microsoft Visual Studio 2013 VsGraphics Helper Dependencies to XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  • Save data\msi\2dac4b_broken_productname.msi
  • Confirm in Windows Explorer that Digital Certificate is now invalid
  • Add following test case to net/JetBrains.SignatureVerifier/tests/MsiSignatureVerifierTests.cs
[TestCase(VerifySignatureStatus.InvalidSignature, "2dac4b_broken_productname.msi")]
  • Run test and confirm it fails with following error:
Expected: InvalidSignature
But was:  Valid

Expected behavior:

  • Test case succeeds ( == verification returns VerifySignatureStatus.InvalidSignature when checking 2dac4b_broken_productname.msi)

Screenshots:
image
image
image

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.