Make trusted.gpg world-readable
There is no reason to hide it from anyone, the GPG default is not appropriate in our case.
This commit is contained in:
parent
8c50324dbf
commit
289b60bcbe
1 changed files with 1 additions and 0 deletions
|
|
@ -129,6 +129,7 @@ class WeboobRepos(ReplApplication):
|
|||
if not os.path.exists(krname):
|
||||
raise Exception('No valid key file found.')
|
||||
kr_mtime = mktime(strptime(str(r.key_update), '%Y%m%d%H%M'))
|
||||
os.chmod(krname, 0644)
|
||||
os.utime(krname, (kr_mtime, kr_mtime))
|
||||
else:
|
||||
print 'Keyring is up to date'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue