mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-08 00:10:29 +03:00
Make it easier to reference another app's signature
This commit is contained in:
parent
fdc04fe64e
commit
0febe11eb0
2 changed files with 7 additions and 0 deletions
|
|
@ -84,6 +84,10 @@ def main():
|
|||
if appid in keyaliases:
|
||||
# For this particular app, the key alias is overridden...
|
||||
keyalias = keyaliases[appid]
|
||||
if keyalias.startswith('@'):
|
||||
m = md5.new()
|
||||
m.update(keyalias[1:])
|
||||
keyalias = m.hexdigest()[:8]
|
||||
else:
|
||||
m = md5.new()
|
||||
m.update(appid)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue