Skip to content

Instantly share code, notes, and snippets.

View PaulGgithub's full-sized avatar

Paul G PaulGgithub

View GitHub Profile
@PaulGgithub
PaulGgithub / generate_apple_transfer_identity.py
Last active March 9, 2021 09:39
Generate apple transfer identity (transfer_sub)
import jwt
import time
import requests
import json
"""
Install:
pip install -r requirements.txt
Preparation:
<!--
This is the minimum valid AMP HTML document. Type away
here and the AMP Validator will re-check your document on the fly.
-->
<!doctype html>
<html ⚡>
<head>
<meta charset="utf-8">
<link rel="canonical" href="self.html" />
<meta name="viewport" content="width=device-width,minimum-scale=1">
<!--
This is the minimum valid AMP HTML document. Type away
here and the AMP Validator will re-check your document on the fly.
-->
<!doctype html>
<html ⚡>
<head>
<meta charset="utf-8">
<link rel="canonical" href="self.html" />
<meta name="viewport" content="width=device-width,minimum-scale=1">