In the previous fix [1] the value of pubkey.encode() was
forgotten to be assigned which basically makes it a noop
operation. This patch fixes that.
[1] https://review.opendev.org/c/osf/refstack/+/776168
Change-Id: I93a4e5d8afde7e3abfdcf66220c64cda111d4a48