{"action":"created","issue":{"url":"https://api.github.com/repos/lcp/mokutil/issues/18","repository_url":"https://api.github.com/repos/lcp/mokutil","labels_url":"https://api.github.com/repos/lcp/mokutil/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/lcp/mokutil/issues/18/comments","events_url":"https://api.github.com/repos/lcp/mokutil/issues/18/events","html_url":"https://github.com/lcp/mokutil/pull/18","id":362554273,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE3MjQwNjMz","number":18,"title":"Export keys","user":{"login":"tdaitx","id":743143,"node_id":"MDQ6VXNlcjc0MzE0Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/743143?v=4","gravatar_id":"","url":"https://api.github.com/users/tdaitx","html_url":"https://github.com/tdaitx","followers_url":"https://api.github.com/users/tdaitx/followers","following_url":"https://api.github.com/users/tdaitx/following{/other_user}","gists_url":"https://api.github.com/users/tdaitx/gists{/gist_id}","starred_url":"https://api.github.com/users/tdaitx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdaitx/subscriptions","organizations_url":"https://api.github.com/users/tdaitx/orgs","repos_url":"https://api.github.com/users/tdaitx/repos","events_url":"https://api.github.com/users/tdaitx/events{/privacy}","received_events_url":"https://api.github.com/users/tdaitx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-09-21T10:31:37Z","updated_at":"2018-10-02T03:18:36Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/lcp/mokutil/pulls/18","html_url":"https://github.com/lcp/mokutil/pull/18","diff_url":"https://github.com/lcp/mokutil/pull/18.diff","patch_url":"https://github.com/lcp/mokutil/pull/18.patch"},"body":"This PR adds the option to export the other keys beyond MOK. \r\n\r\nI reused the existing arguments for the other dbs, so for example exporting pks only requires. --export --pk, and I added a --mok argument for symmetry.\r\n\r\nI tried to preserve the existing behavior, such as setting only the --mokx/--pk/--kek/--db/--dbx will end up calling list-enrolled, but I had to move that logic to after the getopt_long block so I can be sure no other command was specified."},"comment":{"url":"https://api.github.com/repos/lcp/mokutil/issues/comments/426135313","html_url":"https://github.com/lcp/mokutil/pull/18#issuecomment-426135313","issue_url":"https://api.github.com/repos/lcp/mokutil/issues/18","id":426135313,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjEzNTMxMw==","user":{"login":"lcp","id":98220,"node_id":"MDQ6VXNlcjk4MjIw","avatar_url":"https://avatars2.githubusercontent.com/u/98220?v=4","gravatar_id":"","url":"https://api.github.com/users/lcp","html_url":"https://github.com/lcp","followers_url":"https://api.github.com/users/lcp/followers","following_url":"https://api.github.com/users/lcp/following{/other_user}","gists_url":"https://api.github.com/users/lcp/gists{/gist_id}","starred_url":"https://api.github.com/users/lcp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcp/subscriptions","organizations_url":"https://api.github.com/users/lcp/orgs","repos_url":"https://api.github.com/users/lcp/repos","events_url":"https://api.github.com/users/lcp/events{/privacy}","received_events_url":"https://api.github.com/users/lcp/received_events","type":"User","site_admin":false},"created_at":"2018-10-02T03:18:36Z","updated_at":"2018-10-02T03:18:36Z","author_association":"OWNER","body":"I see your point. The arguments could reduce the typing errors from the users. On the other hand, I sometimes have to check db/mok files from someone else, and that is why I feel \"filepath\" could be useful for me. We can do that parallelly anyway since there is no conflict.\r\n\r\nAs for exporting hashes, I don't have a good idea now. What would be your use case for the exported hashes?"}}
{"actor":{"display_login":"lcp"}}