mirror of
				https://github.com/laurivosandi/certidude
				synced 2025-10-31 09:29:13 +00:00 
			
		
		
		
	cli: Fix group ownership for authority setup
This commit is contained in:
		| @@ -628,6 +628,9 @@ def certidude_setup_authority(parent, country, state, locality, organization, or | |||||||
|  |  | ||||||
|     ca.sign(key, "sha256") |     ca.sign(key, "sha256") | ||||||
|  |  | ||||||
|  |     _, _, uid, gid, gecos, root, shell = pwd.getpwnam("certidude") | ||||||
|  |     os.setegid(gid) | ||||||
|  |  | ||||||
|     os.umask(0o027) |     os.umask(0o027) | ||||||
|     if not os.path.exists(directory): |     if not os.path.exists(directory): | ||||||
|         os.makedirs(directory) |         os.makedirs(directory) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user