[doc] pgp token generation, python example