{"action":"closed","issue":{"url":"https://api.github.com/repos/GiorgioRegni/mod_encrypt/issues/3","labels_url":"https://api.github.com/repos/GiorgioRegni/mod_encrypt/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/GiorgioRegni/mod_encrypt/issues/3/comments","events_url":"https://api.github.com/repos/GiorgioRegni/mod_encrypt/issues/3/events","html_url":"https://github.com/GiorgioRegni/mod_encrypt/issues/3","id":105953507,"number":3,"title":"When a PUT comes in, the master and data encryption key currently active should be used","user":{"login":"dmgrimal","id":6944218,"avatar_url":"https://avatars.githubusercontent.com/u/6944218?v=3","gravatar_id":"","url":"https://api.github.com/users/dmgrimal","html_url":"https://github.com/dmgrimal","followers_url":"https://api.github.com/users/dmgrimal/followers","following_url":"https://api.github.com/users/dmgrimal/following{/other_user}","gists_url":"https://api.github.com/users/dmgrimal/gists{/gist_id}","starred_url":"https://api.github.com/users/dmgrimal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmgrimal/subscriptions","organizations_url":"https://api.github.com/users/dmgrimal/orgs","repos_url":"https://api.github.com/users/dmgrimal/repos","events_url":"https://api.github.com/users/dmgrimal/events{/privacy}","received_events_url":"https://api.github.com/users/dmgrimal/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-11T06:40:31Z","updated_at":"2015-11-24T14:49:39Z","closed_at":"2015-11-24T14:49:39Z","body":"The master and data encryption keys have expiration times.  If a PUT is initiated and the transfer is not completed before the keys changed because they expired, the keys which existed at the start of the transfer should be used to encrypt the data and also should be stored in the user metadata of the object. \r\n\r\nThis is to make sure the race condition of keys changing is being handled when a package is being ingested.  \r\n"}}