{"action":"created","issue":{"url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/917","labels_url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/917/labels{/name}","comments_url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/917/comments","events_url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/917/events","html_url":"https://github.com/sandstorm-io/sandstorm/pull/917","id":107968004,"number":917,"title":"Use export-minimal to get smallest GPG keyring","user":{"login":"paulproteus","id":25457,"avatar_url":"https://avatars.githubusercontent.com/u/25457?v=3","gravatar_id":"","url":"https://api.github.com/users/paulproteus","html_url":"https://github.com/paulproteus","followers_url":"https://api.github.com/users/paulproteus/followers","following_url":"https://api.github.com/users/paulproteus/following{/other_user}","gists_url":"https://api.github.com/users/paulproteus/gists{/gist_id}","starred_url":"https://api.github.com/users/paulproteus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulproteus/subscriptions","organizations_url":"https://api.github.com/users/paulproteus/orgs","repos_url":"https://api.github.com/users/paulproteus/repos","events_url":"https://api.github.com/users/paulproteus/events{/privacy}","received_events_url":"https://api.github.com/users/paulproteus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-23T17:29:45Z","updated_at":"2015-09-23T17:34:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sandstorm-io/sandstorm/pulls/917","html_url":"https://github.com/sandstorm-io/sandstorm/pull/917","diff_url":"https://github.com/sandstorm-io/sandstorm/pull/917.diff","patch_url":"https://github.com/sandstorm-io/sandstorm/pull/917.patch"},"body":"Micro-benchmark results on my personal key.\r\n\r\n```\r\n$ gpg --export --export-options export-minimal '97225E589D6B9E01533C485EEC4B033C70096AD1' | wc -c\r\n8118\r\n```\r\n\r\n```\r\n$ gpg --export '97225E589D6B9E01533C485EEC4B033C70096AD1' | wc -c\r\n78782\r\n```\r\n\r\nRealistically this only affects people (like me) who have a lot of signatures\r\non their key. But I think it's smart to document it the export-minimal way\r\nto help those who do."},"comment":{"url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/comments/142673989","html_url":"https://github.com/sandstorm-io/sandstorm/pull/917#issuecomment-142673989","issue_url":"https://api.github.com/repos/sandstorm-io/sandstorm/issues/917","id":142673989,"user":{"login":"paulproteus","id":25457,"avatar_url":"https://avatars.githubusercontent.com/u/25457?v=3","gravatar_id":"","url":"https://api.github.com/users/paulproteus","html_url":"https://github.com/paulproteus","followers_url":"https://api.github.com/users/paulproteus/followers","following_url":"https://api.github.com/users/paulproteus/following{/other_user}","gists_url":"https://api.github.com/users/paulproteus/gists{/gist_id}","starred_url":"https://api.github.com/users/paulproteus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulproteus/subscriptions","organizations_url":"https://api.github.com/users/paulproteus/orgs","repos_url":"https://api.github.com/users/paulproteus/repos","events_url":"https://api.github.com/users/paulproteus/events{/privacy}","received_events_url":"https://api.github.com/users/paulproteus/received_events","type":"User","site_admin":false},"created_at":"2015-09-23T17:34:45Z","updated_at":"2015-09-23T17:34:45Z","body":"I will self-merge this on Friday (hence self-assigning it now) in case people have thoughts/advice/comments/etc.\r\n\r\nI figure it's reasonable to do this because we're using the Sandstorm app maintainer's GPG keyring as a trust anchor and we don't need the other signatures that are on the key.\r\n\r\n\r\n```\r\nexport-minimal\r\nExport the smallest key possible. This removes all signatures except the most recent self-signature on each user ID. This option is the same as running the --edit-key command \"minimize\" before export except that the local copy of the key is not modified. Defaults to no.\r\n```\r\n\r\nare the upstream docs for this, see https://www.gnupg.org/documentation/manuals/gnupg/GPG-Input-and-Output.html"}}