Automatic Codesigner for unsigned plugins

Discussion in 'Mac / Hackintosh' started by kvmvsvbi, May 30, 2022.

  1. kvmvsvbi

    kvmvsvbi Newbie

    Joined:
    Jun 5, 2018
    Messages:
    6
    Likes Received:
    0
    Hey there!

    After some issues I've encountered myself trying to codesign my plugins (and not being able to find the code signer app), I decided to write a little script in order to hopefully help some people.Simply run it and follow the procedure.

    It will mount / cd to your user folder and from there it will start to codesign everything in it's way with the following filetypes: .component, .bundle, .vst, .vst3, .app & .au

    I know that this is the most basic / simple form of solving this issue and that it might not be perfect, yet I have not encountered any issues in my testing - in fact, quite the opposite. Through this little script and the additional steps I found in my testing that are outlined when running it and in the GitHub readme, I got my plugins to work now.

    Here is the link to the GitHub I created for this little script:

    https://github.com/kamasabi/codesign/blob/main/README.md

    I hope you have fun / success with it.
     
  2.  
  3. clone

    clone Audiosexual

    Joined:
    Feb 5, 2021
    Messages:
    6,139
    Likes Received:
    2,625
    So you do not use Codesigner?
     
  4. kvmvsvbi

    kvmvsvbi Newbie

    Joined:
    Jun 5, 2018
    Messages:
    6
    Likes Received:
    0
    I do through the terminal. I remember that on my old hackintosh I had an app where I could just drop my files onto it and it was done. I couldn't find it anymore. That's why I created a little script.

    It searches through your folders (including the library folder for example) and applies the code sign command to every important file type.

    The command repeated for the different filetypes is "sudo find . -name "*.YOUREXTENSION" -execdir sudo codesign -f -s - {} \;" and it will be used within the $HOME directory so it finds all your apps / files.
     
  5. clone

    clone Audiosexual

    Joined:
    Feb 5, 2021
    Messages:
    6,139
    Likes Received:
    2,625
    That's what Codesigner is. It's an app where you select the files to be code signed and it does the rest. It is nice because it is fast, it can simple or deep sign, and you never have to worry about typographical errors in terminal.

    Check your Private Messages. I sent you a link to it. (it's on my mega but it's a free account
     
    Last edited: May 30, 2022
  6. kvmvsvbi

    kvmvsvbi Newbie

    Joined:
    Jun 5, 2018
    Messages:
    6
    Likes Received:
    0
    Thank you very much. Just in case some peeps find themselves in the same situation I was in, I simply created this little script. You never know, maybe it is a quick solution for some people, which would make me happy :)
     
  7. Nehal

    Nehal Member

    Joined:
    Oct 8, 2019
    Messages:
    179
    Likes Received:
    16
    Can you please provide the link to the codesigner app? Thanks in advance.
     
  8. fiction

    fiction Audiosexual

    Joined:
    Jun 21, 2011
    Messages:
    1,893
    Likes Received:
    688
    Are you talking about /usr/bin/codesign?
     
  9. lisalis

    lisalis Newbie

    Joined:
    Feb 7, 2021
    Messages:
    59
    Likes Received:
    1
    Anyone has a link to codesigner. It doesnt seem to be updated.
     
  10. boomoperators

    boomoperators Kapellmeister

    Joined:
    Mar 16, 2021
    Messages:
    88
    Likes Received:
    65
  11. aleksy

    aleksy Kapellmeister

    Joined:
    Dec 25, 2020
    Messages:
    107
    Likes Received:
    70
    Note that the CodeSigner app (at least version 0.9.4) refuses to work on macOS 13 Ventura, at least on my M1 system.
    Contacted the dev about it but he doesn't seem to have enough time to dedicate to making it compatible atm.
     
  12. smoke

    smoke Noisemaker

    Joined:
    Jan 15, 2012
    Messages:
    58
    Likes Received:
    5
    I'm not using the app atm but it could be useful for someone else. Do you think or know if the dev could share the source, maybe on GitHub, so we can update and maintain it?
     
  13. controlthesystem

    controlthesystem Member

    Joined:
    Feb 20, 2023
    Messages:
    33
    Likes Received:
    8
    I have Ventura/M1 and Codesigner 0.9.4 works.
     
  14. Tchoulou

    Tchoulou Newbie

    Joined:
    Mar 24, 2023
    Messages:
    2
    Likes Received:
    0
    Hi, would you mind DM me Codesigner 0.9.4 since it's nowhere to be found online please. I'm on Big Sur, got the the 0.9.3 but it doesn't work on my computer. Would really appreciate
    Thanks
     
  15. manticore

    manticore Member

    Joined:
    Nov 19, 2013
    Messages:
    13
    Likes Received:
    7
    hello sir, is that possible to give me version 0.9.4 too? i am beyond grateful
     
  16. clone

    clone Audiosexual

    Joined:
    Feb 5, 2021
    Messages:
    6,139
    Likes Received:
    2,625
    It's uploaded to Sister site.


    in Terminal, this can codesign every plugin on the machine all at once. It takes a little while, just let it do it's thing. You do still need to have xcode installed first. You can remove lines for any plugin formats you do not use, but leave the bundle related commands.

    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 - {} \;
     
    Last edited: Jun 12, 2023
  17. TopShelf_JamRock

    TopShelf_JamRock Newbie

    Joined:
    Oct 2, 2023
    Messages:
    6
    Likes Received:
    1
    Hi can you PM me a link for consigner when you have time? it'll be a great addition to cut back on some headaches
     
  18. seethisin3d

    seethisin3d Newbie

    Joined:
    Oct 5, 2023
    Messages:
    24
    Likes Received:
    2
    Location:
    True peak island
    Can you make this into a actuall program? Id suggest you charge a dollar for it 2, seems very usefull to people like me who absolutely hate doing this stuff manually
     
Loading...
Loading...