{"action":"opened","number":278,"pull_request":{"url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/pulls/278","id":46914075,"html_url":"https://github.com/s3fs-fuse/s3fs-fuse/pull/278","diff_url":"https://github.com/s3fs-fuse/s3fs-fuse/pull/278.diff","patch_url":"https://github.com/s3fs-fuse/s3fs-fuse/pull/278.patch","issue_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/issues/278","number":278,"state":"open","locked":false,"title":"Supported for SSE KMS(#270)","user":{"login":"ggtakec","id":3221882,"avatar_url":"https://avatars.githubusercontent.com/u/3221882?v=3","gravatar_id":"","url":"https://api.github.com/users/ggtakec","html_url":"https://github.com/ggtakec","followers_url":"https://api.github.com/users/ggtakec/followers","following_url":"https://api.github.com/users/ggtakec/following{/other_user}","gists_url":"https://api.github.com/users/ggtakec/gists{/gist_id}","starred_url":"https://api.github.com/users/ggtakec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggtakec/subscriptions","organizations_url":"https://api.github.com/users/ggtakec/orgs","repos_url":"https://api.github.com/users/ggtakec/repos","events_url":"https://api.github.com/users/ggtakec/events{/privacy}","received_events_url":"https://api.github.com/users/ggtakec/received_events","type":"User","site_admin":false},"body":"Supported for Server Side Encrypting with KMS id.  \r\nAnd modified use_sse option for this change.  \r\nAfter this change, s3fs supported No-SSE(SSE disable), SSE-S3, SSE-C(custom key using), and SSE-KMS(AWS Key Management Id).  \r\n\r\n##### About use_sse option:\r\n- not specify use_sse option  \r\ndefault is SSE-DISABLE\r\n- \"use_sse\" or \"use_sse=1\"(old type parameter)  \r\nuses Amazon S3-managed encryption keys\r\n- \"use_sse=custom:<filepath>\" or \"use_sse=<filepath>\"(old type parameter)  \r\nuses customer-provided encryption keys.  \r\nThe custom key file must be 600 permission.  \r\nThe file can have some lines, each line is one SSE-C key.  \r\nThe first line in file is used as Customer-Provided Encryption Keys for uploading and changing headers etc.  \r\nIf there are some keys after first line, those are used downloading object which are encrypted by not first key.  \r\nSo that, you can keep all SSE-C keys in file, that is SSE-C key history.  \r\n- \"use_sse=custom\"  \r\nIf you specify \"custom\"(\"c\") without file path, you need to set custom key by load_sse_c option or AWSSSECKEYS environment.  \r\n(AWSSSECKEYS environment has some SSE-C keys with \":\" separator.)  \r\nThis option is used to decide the SSE type.  \r\nSo that if you do not want to encrypt a object object at uploading, but you need to decrypt encrypted object at downloaing, you can use load_sse_c option instead of this option.  \r\n- \"use_sse=kmsid\" or \"use_sse=kmsid:<kms id>\"  \r\nuses the master key which you manage in AWS KMS.  \r\nYou can use \"k\" for short \"kmsid\".  \r\nIf you san specify SSE-KMS type with your <kms id> in AWS KMS, you can set it after \"kmsid:\"(or \"k:\").  \r\nIf you specify only \"kmsid\"(\"k\"), you need to set AWSSSEKMSID environment which value is <kms id>.  \r\nYou must be careful about that you can not use the KMS id which is not same EC2 region.  ","created_at":"2015-10-06T14:58:47Z","updated_at":"2015-10-06T14:58:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/pulls/278/commits","review_comments_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/pulls/278/comments","review_comment_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/pulls/comments{/number}","comments_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/issues/278/comments","statuses_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/statuses/f51ad1f33e523a98323078d1c4ad4e20476f28ca","head":{"label":"ggtakec:master","ref":"master","sha":"f51ad1f33e523a98323078d1c4ad4e20476f28ca","user":{"login":"ggtakec","id":3221882,"avatar_url":"https://avatars.githubusercontent.com/u/3221882?v=3","gravatar_id":"","url":"https://api.github.com/users/ggtakec","html_url":"https://github.com/ggtakec","followers_url":"https://api.github.com/users/ggtakec/followers","following_url":"https://api.github.com/users/ggtakec/following{/other_user}","gists_url":"https://api.github.com/users/ggtakec/gists{/gist_id}","starred_url":"https://api.github.com/users/ggtakec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggtakec/subscriptions","organizations_url":"https://api.github.com/users/ggtakec/orgs","repos_url":"https://api.github.com/users/ggtakec/repos","events_url":"https://api.github.com/users/ggtakec/events{/privacy}","received_events_url":"https://api.github.com/users/ggtakec/received_events","type":"User","site_admin":false},"repo":{"id":42120773,"name":"s3fs-fuse","full_name":"ggtakec/s3fs-fuse","owner":{"login":"ggtakec","id":3221882,"avatar_url":"https://avatars.githubusercontent.com/u/3221882?v=3","gravatar_id":"","url":"https://api.github.com/users/ggtakec","html_url":"https://github.com/ggtakec","followers_url":"https://api.github.com/users/ggtakec/followers","following_url":"https://api.github.com/users/ggtakec/following{/other_user}","gists_url":"https://api.github.com/users/ggtakec/gists{/gist_id}","starred_url":"https://api.github.com/users/ggtakec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggtakec/subscriptions","organizations_url":"https://api.github.com/users/ggtakec/orgs","repos_url":"https://api.github.com/users/ggtakec/repos","events_url":"https://api.github.com/users/ggtakec/events{/privacy}","received_events_url":"https://api.github.com/users/ggtakec/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ggtakec/s3fs-fuse","description":"FUSE-based file system backed by Amazon S3","fork":true,"url":"https://api.github.com/repos/ggtakec/s3fs-fuse","forks_url":"https://api.github.com/repos/ggtakec/s3fs-fuse/forks","keys_url":"https://api.github.com/repos/ggtakec/s3fs-fuse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ggtakec/s3fs-fuse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ggtakec/s3fs-fuse/teams","hooks_url":"https://api.github.com/repos/ggtakec/s3fs-fuse/hooks","issue_events_url":"https://api.github.com/repos/ggtakec/s3fs-fuse/issues/events{/number}","events_url":"https://api.github.com/repos/ggtakec/s3fs-fuse/events","assignees_url":"https://api.github.com/repos/ggtakec/s3fs-fuse/assignees{/user}","branches_url":"https://api.github.com/repos/ggtakec/s3fs-fuse/branches{/branch}","tags_url":"https://api.github.com/repos/ggtakec/s3fs-fuse/tags","blobs_url":"https://api.github.com/repos/ggtakec/s3fs-fuse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ggtakec/s3fs-fuse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ggtakec/s3fs-fuse/git/refs{/sha}","trees_url":"https://api.github.com/repos/ggtakec/s3fs-fuse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ggtakec/s3fs-fuse/statuses/{sha}","languages_url":"https://api.github.com/repos/ggtakec/s3fs-fuse/languages","stargazers_url":"https://api.github.com/repos/ggtakec/s3fs-fuse/stargazers","contributors_url":"https://api.github.com/repos/ggtakec/s3fs-fuse/contributors","subscribers_url":"https://api.github.com/repos/ggtakec/s3fs-fuse/subscribers","subscription_url":"https://api.github.com/repos/ggtakec/s3fs-fuse/subscription","commits_url":"https://api.github.com/repos/ggtakec/s3fs-fuse/commits{/sha}","git_commits_url":"https://api.github.com/repos/ggtakec/s3fs-fuse/git/commits{/sha}","comments_url":"https://api.github.com/repos/ggtakec/s3fs-fuse/comments{/number}","issue_comment_url":"https://api.github.com/repos/ggtakec/s3fs-fuse/issues/comments{/number}","contents_url":"https://api.github.com/repos/ggtakec/s3fs-fuse/contents/{+path}","compare_url":"https://api.github.com/repos/ggtakec/s3fs-fuse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ggtakec/s3fs-fuse/merges","archive_url":"https://api.github.com/repos/ggtakec/s3fs-fuse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ggtakec/s3fs-fuse/downloads","issues_url":"https://api.github.com/repos/ggtakec/s3fs-fuse/issues{/number}","pulls_url":"https://api.github.com/repos/ggtakec/s3fs-fuse/pulls{/number}","milestones_url":"https://api.github.com/repos/ggtakec/s3fs-fuse/milestones{/number}","notifications_url":"https://api.github.com/repos/ggtakec/s3fs-fuse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ggtakec/s3fs-fuse/labels{/name}","releases_url":"https://api.github.com/repos/ggtakec/s3fs-fuse/releases{/id}","created_at":"2015-09-08T15:18:56Z","updated_at":"2015-09-08T15:18:56Z","pushed_at":"2015-10-06T14:46:42Z","git_url":"git://github.com/ggtakec/s3fs-fuse.git","ssh_url":"git@github.com:ggtakec/s3fs-fuse.git","clone_url":"https://github.com/ggtakec/s3fs-fuse.git","svn_url":"https://github.com/ggtakec/s3fs-fuse","homepage":"","size":1447,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"s3fs-fuse:master","ref":"master","sha":"e29069b8dcfd8445b1b53489bb421080216e51f7","user":{"login":"s3fs-fuse","id":6013166,"avatar_url":"https://avatars.githubusercontent.com/u/6013166?v=3","gravatar_id":"","url":"https://api.github.com/users/s3fs-fuse","html_url":"https://github.com/s3fs-fuse","followers_url":"https://api.github.com/users/s3fs-fuse/followers","following_url":"https://api.github.com/users/s3fs-fuse/following{/other_user}","gists_url":"https://api.github.com/users/s3fs-fuse/gists{/gist_id}","starred_url":"https://api.github.com/users/s3fs-fuse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s3fs-fuse/subscriptions","organizations_url":"https://api.github.com/users/s3fs-fuse/orgs","repos_url":"https://api.github.com/users/s3fs-fuse/repos","events_url":"https://api.github.com/users/s3fs-fuse/events{/privacy}","received_events_url":"https://api.github.com/users/s3fs-fuse/received_events","type":"Organization","site_admin":false},"repo":{"id":14627445,"name":"s3fs-fuse","full_name":"s3fs-fuse/s3fs-fuse","owner":{"login":"s3fs-fuse","id":6013166,"avatar_url":"https://avatars.githubusercontent.com/u/6013166?v=3","gravatar_id":"","url":"https://api.github.com/users/s3fs-fuse","html_url":"https://github.com/s3fs-fuse","followers_url":"https://api.github.com/users/s3fs-fuse/followers","following_url":"https://api.github.com/users/s3fs-fuse/following{/other_user}","gists_url":"https://api.github.com/users/s3fs-fuse/gists{/gist_id}","starred_url":"https://api.github.com/users/s3fs-fuse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s3fs-fuse/subscriptions","organizations_url":"https://api.github.com/users/s3fs-fuse/orgs","repos_url":"https://api.github.com/users/s3fs-fuse/repos","events_url":"https://api.github.com/users/s3fs-fuse/events{/privacy}","received_events_url":"https://api.github.com/users/s3fs-fuse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/s3fs-fuse/s3fs-fuse","description":"FUSE-based file system backed by Amazon S3","fork":false,"url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse","forks_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/forks","keys_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/teams","hooks_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/hooks","issue_events_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/issues/events{/number}","events_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/events","assignees_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/assignees{/user}","branches_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/branches{/branch}","tags_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/tags","blobs_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/git/refs{/sha}","trees_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/statuses/{sha}","languages_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/languages","stargazers_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/stargazers","contributors_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/contributors","subscribers_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/subscribers","subscription_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/subscription","commits_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/commits{/sha}","git_commits_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/git/commits{/sha}","comments_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/comments{/number}","issue_comment_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/issues/comments{/number}","contents_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/contents/{+path}","compare_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/merges","archive_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/downloads","issues_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/issues{/number}","pulls_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/pulls{/number}","milestones_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/milestones{/number}","notifications_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/labels{/name}","releases_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/releases{/id}","created_at":"2013-11-22T19:31:12Z","updated_at":"2015-10-05T17:52:49Z","pushed_at":"2015-09-30T20:01:40Z","git_url":"git://github.com/s3fs-fuse/s3fs-fuse.git","ssh_url":"git@github.com:s3fs-fuse/s3fs-fuse.git","clone_url":"https://github.com/s3fs-fuse/s3fs-fuse.git","svn_url":"https://github.com/s3fs-fuse/s3fs-fuse","homepage":"","size":2816,"stargazers_count":803,"watchers_count":803,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":120,"mirror_url":null,"open_issues_count":61,"forks":120,"open_issues":61,"watchers":803,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/pulls/278"},"html":{"href":"https://github.com/s3fs-fuse/s3fs-fuse/pull/278"},"issue":{"href":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/issues/278"},"comments":{"href":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/issues/278/comments"},"review_comments":{"href":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/pulls/278/comments"},"review_comment":{"href":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/pulls/278/commits"},"statuses":{"href":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/statuses/f51ad1f33e523a98323078d1c4ad4e20476f28ca"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":409,"deletions":212,"changed_files":7}}