{"action":"opened","issue":{"url":"https://api.github.com/repos/openpgpjs/openpgpjs/issues/737","repository_url":"https://api.github.com/repos/openpgpjs/openpgpjs","labels_url":"https://api.github.com/repos/openpgpjs/openpgpjs/issues/737/labels{/name}","comments_url":"https://api.github.com/repos/openpgpjs/openpgpjs/issues/737/comments","events_url":"https://api.github.com/repos/openpgpjs/openpgpjs/issues/737/events","html_url":"https://github.com/openpgpjs/openpgpjs/issues/737","id":342064934,"node_id":"MDU6SXNzdWUzNDIwNjQ5MzQ=","number":737,"title":"Improvements to getExpirationTime","user":{"login":"sanjanarajan","id":6510011,"node_id":"MDQ6VXNlcjY1MTAwMTE=","avatar_url":"https://avatars2.githubusercontent.com/u/6510011?v=4","gravatar_id":"","url":"https://api.github.com/users/sanjanarajan","html_url":"https://github.com/sanjanarajan","followers_url":"https://api.github.com/users/sanjanarajan/followers","following_url":"https://api.github.com/users/sanjanarajan/following{/other_user}","gists_url":"https://api.github.com/users/sanjanarajan/gists{/gist_id}","starred_url":"https://api.github.com/users/sanjanarajan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanjanarajan/subscriptions","organizations_url":"https://api.github.com/users/sanjanarajan/orgs","repos_url":"https://api.github.com/users/sanjanarajan/repos","events_url":"https://api.github.com/users/sanjanarajan/events{/privacy}","received_events_url":"https://api.github.com/users/sanjanarajan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-17T20:05:40Z","updated_at":"2018-07-17T20:05:40Z","closed_at":null,"author_association":"MEMBER","body":"Right now, getExpirationTime returns the expiration time of the primary key.\r\nIt would be useful to optionally pass in key flags to this function, and return the key expiration in terms of the desired capabilities. \r\nFor example, passing in 12 would return the last time that the key can encrypt storage and communications. "}}
{"actor":{"display_login":"sanjanarajan"}}