fix: type confusion in previous bugfix
All checks were successful
/ test (push) Successful in 1m15s
/ codestyle (push) Successful in 1m13s
/ easywksserver_gpgwksclient (push) Successful in 1m35s
/ build_wheel (push) Successful in 2m16s
/ build_debian (push) Successful in 2m36s

This commit is contained in:
s3lph 2024-05-31 16:13:57 +02:00
parent b3e66b91c3
commit d9fa1733a8
Signed by: s3lph
GPG key ID: 0AA29A52FB33CFB5

View file

@ -99,7 +99,7 @@ def write_public_key(domain, user, key, revoked):
danefile = os.path.join(Config.working_directory, domain, 'dane', dane)
joined = bytes(key) + b''.join([bytes(k) for k in revoked])
_locked_write(keyfile, joined, binary=True)
_locked_write(danefile, key, binary=True)
_locked_write(danefile, bytes(key), binary=True)
dane_notify(domain)