Git Product home page Git Product logo

Comments (3)

Eloston avatar Eloston commented on May 24, 2024

What key will this use to sign? Is there a way to do this without sudo?

from ungoogled-chromium-macos.

pastmaster007 avatar pastmaster007 commented on May 24, 2024

In the above command - refers Ad-hoc signing. As per man

Ad-hoc signing does not use an identity at all, and identifies exactly
one instance of code. Significant restrictions apply to the use of ad-hoc
signed code; consult documentation before using this.

codesign will attempt to embed the entire certificate chain documenting
the signing identity in the code signature it generates, including any
intermediate certificates and the anchor certificate.

Looks like we can use below two commands instead of sudo.

clears extended file attributes of app bundle and its internal files
xattr -cr out/Default/Chromium.app

apply ad-hoc signing to all files and folders in app bundle.
codesign --force --deep --sign - out/Default/Chromium.app

from ungoogled-chromium-macos.

macvip avatar macvip commented on May 24, 2024

When building,
xattr -cr out/Default/Chromium.app
output:
xattr: No such file: out/Default/Chromium.app/Contents/Frameworks/Chromium Framework.framework/Libraries
The "Libraries" is a symbolic link to "Versions/Current/Libraries", so xattr needs the -s switch to avoid this error.
xattr -csr out/Default/Chromium.app

from ungoogled-chromium-macos.

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.