{"_id":"@0x0a0d/sign-app","name":"@0x0a0d/sign-app","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@0x0a0d/sign-app","version":"1.0.0","description":"CLI utility to self-sign macOS apps and binaries with codesign","main":"dist/cli.js","bin":{"sign-app":"dist/cli.js"},"scripts":{"build":"tsc -p tsconfig.json","dev":"tsc -w -p tsconfig.json","lint":"oxlint src","check":"npm run lint && npm run build","prepare":"npm run build"},"keywords":["mac","sign","app","self"],"author":{"name":"0x0a0d"},"license":"MIT","devDependencies":{"@types/node":"^25.5.0","oxlint":"^1.56.0","typescript":"^5.9.3"},"_id":"@0x0a0d/sign-app@1.0.0","gitHead":"9df632f68056b4e9612fe224f1fd807575b21dc0","types":"./dist/cli.d.ts","_nodeVersion":"22.20.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-bUpgasY05D+nh343dFSUryz058xfxMNsXmsn5+SfPY9Xu2RJK2ewuSFGCFsV/BiHeljchnAUN+4NM0IUZPWVtA==","shasum":"adacebcc9b01430d9498b6321980d4a40358f2c5","tarball":"https://registry.npmjs.org/@0x0a0d/sign-app/-/sign-app-1.0.0.tgz","fileCount":8,"unpackedSize":19727,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD+2gQslRjw6w/MZKdj+2s3qWCb7W0dsPDyKanPi/Z22wIhAIVi6FneiLLjITwKdomSVWlKgcB3ov8uiXFMCuSzlDK4"}]},"_npmUser":{"name":"0x0a0d","email":"vandug23@gmail.com"},"directories":{},"maintainers":[{"name":"0x0a0d","email":"vandug23@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sign-app_1.0.0_1774076787868_0.44789664368077386"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-21T07:06:27.719Z","1.0.0":"2026-03-21T07:06:28.002Z","modified":"2026-03-21T07:06:28.498Z"},"maintainers":[{"name":"0x0a0d","email":"vandug23@gmail.com"}],"description":"CLI utility to self-sign macOS apps and binaries with codesign","keywords":["mac","sign","app","self"],"author":{"name":"0x0a0d"},"license":"MIT","readme":"# sign-app\n\nSelf-sign macOS apps/binaries from CLI using `codesign`.\n\n## Requirements\n\n- macOS\n- Xcode Command Line Tools (`xcrun`, `codesign`)\n- Node.js 18+\n\n## Usage with bunx / npx\n\n```bash\nnpx -y @0x0a0d/sign-app@latest -x \"/Applications/My App.app\"\n```\n\n```bash\nbunx @0x0a0d/sign-app@latest -x \"/Applications/My App.app\"\n```\n\n```bash\nbunx @0x0a0d/sign-app@latest --list\n```\n\n```bash\nbunx @0x0a0d/sign-app@latest \"/Applications/My App.app\" --clear-quarantine\n```\n\n```bash\nbunx @0x0a0d/sign-app@latest \"/Applications/My App.app\" --sudo-xattr\n```\n\n```bash\nbunx @0x0a0d/sign-app@latest \"/Applications/My App.app\" --yes\n```\n\nYou can also pass any existing file/folder path (not only `.app`).\n\n## Safety warning\n\n- Code signing can increase the trust level of an app on macOS.\n- Only sign software you built yourself or fully trust.\n- Never sign unknown binaries from untrusted sources.\n- By default, the CLI asks for `Y/n` confirmation after printing warnings.\n- For non-interactive environments, use `--yes` (or `--quiet`).\n\n## Options\n\n```text\n-i, --identity <value>       Identity passed to codesign (default: -)\n-e, --entitlements <path>    Entitlements plist file\n-q, --quiet                  Disable safety warning before signing\n-y, --yes                    Skip Y/n confirmation after warning\n-l, --list                   List signing identities and available entitlements\n-x, --clear-quarantine       Run xattr -rd com.apple.quarantine before signing\n    --sudo-xattr             Run quarantine cleanup as: sudo xattr -rd com.apple.quarantine\n    --no-verify              Skip post-sign verification\n    --dry-run                Print commands only, do not execute\n-h, --help                   Show help\n```\n\n## Local development\n\n```bash\nnpm install\nnpm run check\nnpm run build\nnode dist/cli.js \"/Applications/My App.app\"\n```\n","readmeFilename":"README.md","_rev":"1-87f96605d7fa1962794cffa8803678e8"}