Notarizing, from altool to notarytool

Anything not about Mac emulation.

Moderators: Cat_7, Ronald P. Regensburg

Post Reply
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Notarizing, from altool to notarytool

Post by Ronald P. Regensburg »

On Howard Oakley's The Electric Light Company I read in his todays contribution about notarization:

Most recently, Apple has replaced altool with notarytool, and its current instructions are here. Note that altool will be going away later this year: if you still use it, now is the time to switch to notarytool.

I use "SD Notary" with altool for notarizing my BasiliskII and SheepShaver builds.

Does anyone know how to switch from altool to notarytool and continue using SD Notary?
emendelson
Forum All-Star
Posts: 1706
Joined: Tue Oct 14, 2008 12:12 am

Re: Notarizing, from altool to notarytool

Post by emendelson »

The developers of SD Notary have said that they will update the program to use notarytool. Meanwhile, I wrote a little AppleScript application that seems to work most of the time, and that uses notarytool. You will have to read the comments at the top of the AppleScript to see how to create a profile that identifies you to Apple. Make sure to read and follow all the instructions. Here's the AppleScript application:

https://www.dropbox.com/s/5mj9yztbis9xq ... b.zip?dl=0

The name includes "Distrib" only to remind me that this is the copy that does NOT contain my own profile name. I notarized the AppleScript app with another copy of the same app.

You don't need this, because SD Notary will be updated, but it may be useful in order to see how notarytool works.

EDIT: As I said above, this seems to work most of the time. For reasons that I don't understand, Apple sometimes rejects an application that I try to notarize with the AppleScript, but the same application will be notarized by SD Notary. I can't see any pattern that explains this.
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: Notarizing, from altool to notarytool

Post by Ronald P. Regensburg »

Thanks. I will study the script.
I have no acute need for notarizing with notarytool right now.
I could not find information about SD Notary and notarytool. That the developers of SD Notary intend to provide an update to the program is a reassurance.
emendelson
Forum All-Star
Posts: 1706
Joined: Tue Oct 14, 2008 12:12 am

Re: Notarizing, from altool to notarytool

Post by emendelson »

And I've posted a page with a link to my app and to some information about notarytool:

http://www.columbia.edu/~em36/notarizeapp.html

And here is the post at the Latenight Software forum about updating SD Notary:

https://forum.latenightsw.com/t/will-sd ... ytool/3825
emendelson
Forum All-Star
Posts: 1706
Joined: Tue Oct 14, 2008 12:12 am

Re: Notarizing, from altool to notarytool

Post by emendelson »

And here is a better tool that does the job from the command line. I haven't tried the option to create a DMG:

https://github.com/EddieCameron/notarize-app
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: Notarizing, from altool to notarytool

Post by Ronald P. Regensburg »

Good to have alternatives.
I am used to SD Notary and its interface. I trust that the update will come in time before altool will stop working.
Post Reply