New to codesign

Discussion in 'Mac / Hackintosh' started by Djoezie, Jun 10, 2024.

  1. Djoezie

    Djoezie Newbie

    Joined:
    Apr 8, 2014
    Messages:
    21
    Likes Received:
    1
    Hi guys,

    i recently bought a second hand macbook to get the hang of it a bit more.
    Now i downloaded some plugins and a lot of them need to be codesigned. Now here is where im stuck, i have no clue what codesigning is and how to do it.
    Is there any tutorial or someine who can help me out with the basics of codesigning?
    Thanks in advance!
     
  2.  
  3. ryu_shiro_878

    ryu_shiro_878 Producer

    Joined:
    Jan 3, 2024
    Messages:
    207
    Likes Received:
    114
    Save these to a txt file:

    ALL THESE COMMANDS IN TERMINAL -- enter password when asked

    1.For a single file:

    function hex() {
    echo ''$1'' | perl -0777pe 's|([0-9a-zA-Z]{2}+(?![^\(]*\)))|\\x${1}|gs'
    }

    function prep() {
    sudo xattr -cr "$1"
    sudo xattr -r -d com.apple.quarantine "$1"
    sudo codesign --force --sign - "$1"
    }

    prep "[DragtheFileHere]"

    2.For multiple vsts or files - Put them in a temp folder for codesigning. After Codesigning return them to there original places, delete duplicates.

    cd [drag the folder]

    for file in *.vst3; do
    sudo xattr -cr "$file"
    done

    for file in *.vst3; do
    sudo xattr -r -d com.apple.quarantine "$file"
    done

    for file in *.vst3; do
    sudo codesign --force --deep --sign - "$file"
    done

    for file in *.component; do
    sudo xattr -cr "$file"
    done

    for file in *.component; do
    sudo xattr -r -d com.apple.quarantine "$file"
    done

    for file in *.component; do
    sudo codesign --force --deep --sign - "$file"
    done

    3.These are the Individual Processes:

    sudo xattr -cr [DragFileHere]
    sudo xattr -r -d com.apple.quarantine [DragFileHere]
    sudo codesign --force --deep --sign - [DragFileHere]
     
  4. clone

    clone Audiosexual

    Joined:
    Feb 5, 2021
    Messages:
    7,304
    Likes Received:
    3,211
    What MacOS version is the Macbook? Search for Codesigner on Sister Site and it is a small app that makes things less tedious, and will eliminate possibility of typographical errors in Terminal. The one on Sister Site should work up until Big Sur or so. After that you need newer version.


    This will do every plugin on the machine in the listed formats. Just give it a few minutes to run in Terminal.


    cd /Library/Audio/Plug-Ins/

    find . -name "*.bundle" -execdir sudo xattr -cr \;
    find . -name "*.VST" -execdir sudo xattr -cr \;
    find . -name "*.vst3" -execdir sudo xattr -cr \;
    find . -name "*.component" -execdir sudo xattr -cr \;
    find . -name "*.dpm" -execdir sudo xattr -cr \;
    find . -name "*.bundle" -execdir sudo codesign -f -s - {} \;
    find . -name "*.VST" -execdir sudo codesign -f -s - {} \;
    find . -name "*.vst3" -execdir sudo codesign -f -s - {} \;
    find . -name "*.component" -execdir sudo codesign -f -s - {} \;
    find . -name "*.dpm" -execdir sudo codesign -f -s - {} \;
     
Loading...
Similar Threads - codesign Forum Date
Codesigning for SIP enabled! Mac / Hackintosh Mar 18, 2024
Waves RET V14 cannot Codesign WavesLicenseEngine Software Mar 5, 2024
Codesigning doesn't work anymore Mac / Hackintosh Feb 14, 2024
Working Plugins install after Hide Plugins... xattr, codesign.command patch !!! Mac / Hackintosh Jan 12, 2024
codesign . how do I do it , new here Mac / Hackintosh Oct 11, 2023
Loading...