cherry/codesign: add an ad-hoc code signing tool

Add an ad-hoc code signing tool, trying to do what darwin linker
does. It seems to make the "codesign" command line tool happy.

Change-Id: I643368ea5cbcfbb933c83ff9ced46820542f3681
Reviewed-on: https://go-review.googlesource.com/c/scratch/+/271866
Trust: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
1 file changed
tree: d870156e1757766a69b7556be2bc157b64a67fd2
  1. 2shortplanks/
  2. aashishkarki/
  3. abdul/
  4. abhi-go/
  5. acabanas/
  6. adamkisala/
  7. adamo/
  8. adamryman/
  9. alex1x/
  10. aman/
  11. andrestc/
  12. andybons/
  13. anton-vorobiev/
  14. apatzer99/
  15. arl/
  16. arudd/
  17. aschlesener/
  18. asgaines/
  19. audrey/
  20. avelino/
  21. baylee/
  22. bdowns/
  23. bflad/
  24. bflanigan/
  25. blainsmith/
  26. bmoix/
  27. bogdanjsx/
  28. bontequero/
  29. brainsnail/
  30. brandondyck/
  31. bschoch/
  32. btracey/
  33. buro9/
  34. calerogers/
  35. calvinbehling/
  36. calvn/
  37. carlisia/
  38. carmen/
  39. cassandraoid/
  40. cbro/
  41. Ch3ck/
  42. cherry/
  43. chimeracoder/
  44. cixel/
  45. clairew/
  46. cmcguinness/
  47. codyoss/
  48. conradwt/
  49. corylanou/
  50. cpallares/
  51. csduarte/
  52. cyacco/
  53. danicat/
  54. danmrichards/
  55. dark5un/
  56. darron/
  57. davidgood/
  58. davidsbond/
  59. dechensherpa/
  60. delioda/
  61. dertseha/
  62. devalshah88/
  63. dfinkel/
  64. dgrmsh/
  65. dicaormu/
  66. dirbaio/
  67. dlsniper/
  68. domgreen/
  69. draina/
  70. drewvanstone/
  71. drichelson/
  72. dtimm/
  73. emasatsugu/
  74. enocom/
  75. epkann/
  76. esellblah/
  77. evanh/
  78. fenos/
  79. fexolm/
  80. filippo/
  81. fmstephe/
  82. frojasg/
  83. fuzz/
  84. gangleri/
  85. garrmcnu/
  86. gasteig/
  87. gautamdey/
  88. geototti21/
  89. ghchinoy/
  90. ghoil/
  91. gk/
  92. gmarik/
  93. gmichelo/
  94. gonzaloserrano/
  95. goyalankit/
  96. grantseltzer/
  97. grepory/
  98. gsg/
  99. guyfedwards/
  100. h0lyalg0rithm/
  101. hakim/
  102. hanwen/
  103. hawazine/
  104. hearot/
  105. herbie/
  106. huadcu/
  107. hugorut/
  108. ianzapolsky/
  109. iccha/
  110. ilanpillemer/
  111. iliasb/
  112. irbekrm/
  113. itch/
  114. ivan3bx/
  115. jackdbd/
  116. jakobernik/
  117. jamesfcarter/
  118. jamiebarnett/
  119. jaskamante/
  120. jasonkeene/
  121. jbd/
  122. jboursiquot/
  123. jcbwlkr/
  124. jda/
  125. jgimeno/
  126. jhewes/
  127. jkerr123/
  128. jlloyd/
  129. jmaeso/
  130. jms/
  131. joanlopez/
  132. joeshaw/
  133. johnnyluo/
  134. jonogould/
  135. joshroppo/
  136. jouderianjr/
  137. jtblakeley/
  138. jurgendecommer/
  139. jwangsadinata/
  140. jwilder/
  141. kasperlewau/
  142. katemanson/
  143. kentakudo/
  144. kevinburke/
  145. kiivihal/
  146. kinbiko/
  147. kirooha/
  148. ladydascalie/
  149. lagimenez/
  150. landonbjones/
  151. laurenceusas/
  152. leighcapili/
  153. leighmcculloch/
  154. liam/
  155. light/
  156. lineufelipe/
  157. lizrice/
  158. ljfranklin/
  159. lucas/
  160. ludweeg/
  161. luigiDB/
  162. lukmdo/
  163. mabu/
  164. maerf0x0/
  165. maitesin/
  166. makhan/
  167. manzan_46/
  168. marioarranzr/
  169. martisch/
  170. matloob/
  171. matthewrudy/
  172. matzhouse/
  173. mayra-cabrera/
  174. mbbroberg/
  175. mchoube/
  176. mdhender/
  177. mec07/
  178. mennis/
  179. merovius/
  180. mfrw/
  181. mgarton/
  182. mh/
  183. miguelbernadi/
  184. mlasala/
  185. mmcloughlin/
  186. mohan08p/
  187. morfeo8marc/
  188. morrisio/
  189. mperez/
  190. msd/
  191. msiggy/
  192. myles-mcdonnell-package/
  193. nathany/
  194. nathj07/
  195. natx/
  196. nd/
  197. neilowen/
  198. neosimsim/
  199. nickng/
  200. nikhita/
  201. nlindblad/
  202. nodo/
  203. ordishs/
  204. oskanberg/
  205. ottogiron/
  206. pamelin/
  207. pbathala/
  208. pbnjay/
  209. pedrosland/
  210. philpearl/
  211. pierreprinetti/
  212. pkch/
  213. pmoroney/
  214. prutswonder/
  215. pteichman/
  216. PumpkinSeed/
  217. pwok/
  218. r/
  219. rabellamy/
  220. ram535ii/
  221. rautelap/
  222. rhettg/
  223. rkuska/
  224. robbawebba/
  225. robclap8/
  226. robHertz/
  227. rogersimms/
  228. rogpeppe/
  229. ronang/
  230. rowanf/
  231. rprimus/
  232. rrey/
  233. rsc/
  234. sameer/
  235. sandipb/
  236. sauvaget/
  237. sbramin/
  238. sbuss/
  239. scorphus/
  240. senekis/
  241. sepetrov/
  242. seubert/
  243. sfrancia/
  244. ShortJohn/
  245. shwsun/
  246. SJC/
  247. skolodyazhnyy/
  248. sm/
  249. smoya/
  250. Southclaws/
  251. SpeedyCoder/
  252. srburnham/
  253. sselph/
  254. stanchan/
  255. stegro/
  256. steveazz/
  257. sukrithanda/
  258. suttonjesse/
  259. telecoda/
  260. telliott/
  261. tengufromsky/
  262. teodorst/
  263. tessr/
  264. tetff/
  265. thoeni/
  266. tiago/
  267. timburks/
  268. tomasbasham/
  269. tommie/
  270. towerthousand/
  271. vanesa/
  272. vdemario/
  273. venilnoronha/
  274. vickiniu/
  275. virtualsue/
  276. vishen/
  277. vivaperu/
  278. vsayer/
  279. waits/
  280. walkert/
  281. wallyqs/
  282. waltzofpearls/
  283. wayneashleyberry/
  284. weeellz/
  285. wes/
  286. wfernandes/
  287. whill/
  288. willmadison/
  289. wrrn/
  290. wselwood/
  291. wvides/
  292. xiam/
  293. ymotongpoo/
  294. zaquestion/
  295. zombispormedio/
  296. doc.go
  297. LICENSE
  298. README.md
README.md

Scratch Repository

This repository is mainly for use by people learning how to use Gerrit and contribute to Go.

Click here for a tutorial on how to get started with a contribution to this repository.

A fuller, text-based tutorial based around the core Go project can be found here.

What should I add?

Add a folder with your username, and put a main function in there. You can put whatever you want in your main function; see the existing directories for examples.

All files should have the standard licensing header, and add appropriate documentation see the other files in this repository for an example.

Notes about Gerrit

If you have needed to change a Github pull request, you probably just added a second commit with the requested changes and pushed it. By contrast, all changes opened in Gerrit are a single commit, which means you need to amend your commit if the reviewer requests feedback.

To amend a previous commit, run git add (list of files you changed) to add your changes, then run git commit --amend to amend the commit to add new data. Your commit message should still summarize the entire commit (“Add kevinburke/main.go”), not just the change a reviewer asked for (“Fix typo”).

After you amend the commit, re-run git codereview mail to push that change to the server. Then in the Gerrit UI, find the in-line comments left by your reviewer, click “Done”, go back to the main PR page, and click “Reply” => “Send” to tell your reviewer that you've addressed your feedback.

Once you get a “Code-Review: +2” from a Go contributor, your change will be merged!

Need help?

Gerrit is not easy to get started with, and we want to help you out. If you are having trouble with Gerrit, contact the golang-devexp mailing list for help!