async def get_update_info(self):
    async with make_aiohttp_session(proxy=self.main_window.network.proxy) as session:
        async with session.get(UpdateCheck.url) as result:
            signed_version_dict = (await result.json(content_type=None))
            version_num = signed_version_dict['version']
            sigs = signed_version_dict['signatures']
            for (address, sig) in sigs.items():
                if (address not in UpdateCheck.VERSION_ANNOUNCEMENT_SIGNING_KEYS):
                    continue
                sig = base64.b64decode(sig)
                msg = version_num.encode('utf-8')
                if ecc.verify_message_with_address(address=address, sig65=sig, message=msg, net=constants.BitcoinMainnet):
                    self.logger.info(f"valid sig for version announcement '{version_num}' from address '{address}'")
                    break
            else:
                raise Exception('no valid signature for version announcement')
            return StrictVersion(version_num.strip())
async def get_update_info(self):
    async with make_aiohttp_session(proxy=self.main_window.network.proxy) as session:
        async with session.get(UpdateCheck.url) as result:
            signed_version_dict = (await result.json(content_type=None))
            version_num = signed_version_dict['version']
            sigs = signed_version_dict['signatures']
            for (address, sig) in sigs.items():
                if (address not in UpdateCheck.VERSION_ANNOUNCEMENT_SIGNING_KEYS):
                    continue
                sig = base64.b64decode(sig)
                msg = version_num.encode('utf-8')
                if ecc.verify_message_with_address(address=address, sig65=sig, message=msg, net=constants.BitcoinMainnet):
                    self.logger.info(f"valid sig for version announcement '{version_num}' from address '{address}'")
                    break
            else:
                raise Exception('no valid signature for version announcement')
            return StrictVersion(version_num.strip())