Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: keyring permissions where world readable #272

Merged
merged 1 commit into from
Mar 20, 2015

Conversation

codenrhoden
Copy link
Contributor

Reported in https://bugzilla.suse.com/show_bug.cgi?id=920926
by Andreas Stieger astieger@suse.com

Before thsi fix to umask for keyring handling, After execution
of ceph-deploy, all keyrings have mode 644.

The documented ceph-deploy procedure by creating a dedicated
admin user, and keys will be readable to all other (non-admin)
users as well, thus leaking authentication credentials.

The fix uses umask to resolve the writing of keyfiles.

Signed-off-by: Owen Synge osynge@suse.com

Reported in https://bugzilla.suse.com/show_bug.cgi?id=920926
by  Andreas Stieger <astieger@suse.com>

Before thsi fix to umask for keyring handling, After execution
of ceph-deploy, all keyrings have mode 644.

The documented ceph-deploy procedure by creating a dedicated
admin user, and keys will be readable to all other (non-admin)
users as well, thus leaking authentication credentials.

The fix uses umask to resolve the writing of keyfiles.

Signed-off-by: Owen Synge <osynge@suse.com>
@ceph-jenkins
Copy link
Collaborator

Refer to this link for build results (access rights to CI server needed):
http://jenkins.ceph.com//job/ceph-deploy-pull-requests/1538/
Tests passed for this pull request.

codenrhoden added a commit that referenced this pull request Mar 20, 2015
Fix: keyring permissions where world readable
@codenrhoden codenrhoden merged commit eee5677 into ceph:master Mar 20, 2015
@codenrhoden codenrhoden deleted the wip_key_perms branch March 20, 2015 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants