{"action":"created","issue":{"url":"https://api.github.com/repos/sparkle-project/Sparkle/issues/1323","repository_url":"https://api.github.com/repos/sparkle-project/Sparkle","labels_url":"https://api.github.com/repos/sparkle-project/Sparkle/issues/1323/labels{/name}","comments_url":"https://api.github.com/repos/sparkle-project/Sparkle/issues/1323/comments","events_url":"https://api.github.com/repos/sparkle-project/Sparkle/issues/1323/events","html_url":"https://github.com/sparkle-project/Sparkle/issues/1323","id":389223116,"node_id":"MDU6SXNzdWUzODkyMjMxMTY=","number":1323,"title":"sign_update via ssh: \"Unable to access required key in the Keychain\"?","user":{"login":"quantonganh","id":1568504,"node_id":"MDQ6VXNlcjE1Njg1MDQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1568504?v=4","gravatar_id":"","url":"https://api.github.com/users/quantonganh","html_url":"https://github.com/quantonganh","followers_url":"https://api.github.com/users/quantonganh/followers","following_url":"https://api.github.com/users/quantonganh/following{/other_user}","gists_url":"https://api.github.com/users/quantonganh/gists{/gist_id}","starred_url":"https://api.github.com/users/quantonganh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quantonganh/subscriptions","organizations_url":"https://api.github.com/users/quantonganh/orgs","repos_url":"https://api.github.com/users/quantonganh/repos","events_url":"https://api.github.com/users/quantonganh/events{/privacy}","received_events_url":"https://api.github.com/users/quantonganh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-10T10:00:10Z","updated_at":"2018-12-10T12:55:29Z","closed_at":null,"author_association":"NONE","body":"- Sparkle-1.21.0\r\n- OS X 10.11\r\n\r\n`generate_appcast` doesn't work with `.dmg` file:\r\n\r\n```\r\nError generating appcast from directory /Users/quanta/Downloads/updates\r\n Error Domain=SUSparkleErrorDomain Code=1001 \"No usable archives found in /Users/quanta/Downloads/updates\" UserInfo={NSLocalizedDescription=No usable archives found in /Users/quanta/Downloads/updates}\r\n```\r\n\r\nSo, I have to create `appcast.xml` manually:\r\n\r\n```\r\n<?xml version=\"1.0\" standalone=\"yes\"?>\r\n<rss xmlns:sparkle=\"http://www.andymatuschak.org/xml-namespaces/sparkle\" version=\"2.0\">\r\n    <channel>\r\n        <title>x</title>\r\n        <item>\r\n            <title>1.0.0.2891</title>\r\n            <pubDate>Thu, 06 Dec 2018 17:25:26 +0800</pubDate>\r\n            <sparkle:minimumSystemVersion>10.7</sparkle:minimumSystemVersion>\r\n            <enclosure url=\"https://domain.com/x.dmg\" sparkle:version=\"1.0.0.2891\" sparkle:shortVersionString=\"1.0.0.2891\" length=\"86454539\" type=\"application/octet-stream\"/>\r\n        </item>\r\n    </channel>\r\n</rss>\r\n```\r\n\r\nGot this error when testing:\r\n\r\n>DSA signature validation of the package failed. The update contains an installer package, and valid DSA signatures are mandatory for all installer packages. The update will be rejected. Sign the installer with a valid DSA key or use an .app bundle update instead.\r\n\r\nFirst time running `sign_update`, I choose \"Always allow\", so it does not ask for password in the next time.\r\n\r\nBut I still got this error when running via ssh:\r\n\r\n```\r\n$ ~/Downloads/Sparkle-1.21.0/bin/sign_update /path/to/x.dmg\r\nERROR! Unable to access required key in the Keychain -25308 (you can look it up at osstatus.com)\r\n```\r\n\r\nI know that we can use `openssl` to do the same thing: https://github.com/sparkle-project/Sparkle/blob/master/bin/old_dsa_scripts/sign_update\r\n\r\nbut how can I export `dsa_priv.pem` from my keychain?"},"comment":{"url":"https://api.github.com/repos/sparkle-project/Sparkle/issues/comments/445805538","html_url":"https://github.com/sparkle-project/Sparkle/issues/1323#issuecomment-445805538","issue_url":"https://api.github.com/repos/sparkle-project/Sparkle/issues/1323","id":445805538,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTgwNTUzOA==","user":{"login":"kornelski","id":72159,"node_id":"MDQ6VXNlcjcyMTU5","avatar_url":"https://avatars0.githubusercontent.com/u/72159?v=4","gravatar_id":"","url":"https://api.github.com/users/kornelski","html_url":"https://github.com/kornelski","followers_url":"https://api.github.com/users/kornelski/followers","following_url":"https://api.github.com/users/kornelski/following{/other_user}","gists_url":"https://api.github.com/users/kornelski/gists{/gist_id}","starred_url":"https://api.github.com/users/kornelski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kornelski/subscriptions","organizations_url":"https://api.github.com/users/kornelski/orgs","repos_url":"https://api.github.com/users/kornelski/repos","events_url":"https://api.github.com/users/kornelski/events{/privacy}","received_events_url":"https://api.github.com/users/kornelski/received_events","type":"User","site_admin":false},"created_at":"2018-12-10T12:55:29Z","updated_at":"2018-12-10T12:55:29Z","author_association":"MEMBER","body":"I've codesigned the tools in Sparkle 1.21.1. See if that helps."}}
{"actor":{"display_login":"kornelski"}}