I do not own apple products at all, nor do I typically develop on Apple platforms. I have an open source CLI application that I distribute to Windows, Linux, and OSX. The distribution itself is just a single, self-contained executable.
I noticed that OSX users were getting "crashes" / untrusted modals when they try to run my application, which they download from a release page on Github. Looking into this, it seemed like running codesign is the answer. At first blush it looked like this required the $99 apple developer membership. I read that there are free ways to get developer ID certificates but I was not able to find any instruction on how to obtain those, and I did not see an option to create certificates at developer.apple.com until I paid for a membership.
In my Github Workflow which builds my application, I also run codesign using the cert I got from the apple developer cert page. I had a user with MacOS v12 run my program and it worked fine on the CLI without any further steps needed.
So here's my question: I read about this thing called the "gatekeeper" and that it requires notarization starting with macOS v10, but I did not notarize my dotnet application and it worked fine. I do not plan to distribute my program on Apple store or anything like that. I also am trying to avoid purchasing apple hardware just to distribute my app.
Is codesigning all I need? If so, why am I reading that notarization is required? Is a paid apple developer membership required for me just to codesign my open source application?