Permalink
Browse files

ok really dropping gdata

  • Loading branch information...
1 parent 9b6fb0e commit 836ce56c35a22fcdb89fb1e57660ed0b3dc0eaae @progrium progrium committed May 1, 2011
Showing with 0 additions and 50,991 deletions.
  1. +0 −33 gdata/Crypto/Cipher/__init__.py
  2. +0 −108 gdata/Crypto/Hash/HMAC.py
  3. +0 −13 gdata/Crypto/Hash/MD5.py
  4. +0 −11 gdata/Crypto/Hash/SHA.py
  5. +0 −24 gdata/Crypto/Hash/__init__.py
  6. +0 −295 gdata/Crypto/Protocol/AllOrNothing.py
  7. +0 −229 gdata/Crypto/Protocol/Chaffing.py
  8. +0 −17 gdata/Crypto/Protocol/__init__.py
  9. +0 −238 gdata/Crypto/PublicKey/DSA.py
  10. +0 −132 gdata/Crypto/PublicKey/ElGamal.py
  11. +0 −256 gdata/Crypto/PublicKey/RSA.py
  12. +0 −17 gdata/Crypto/PublicKey/__init__.py
  13. +0 −172 gdata/Crypto/PublicKey/pubkey.py
  14. +0 −170 gdata/Crypto/PublicKey/qNEW.py
  15. +0 −342 gdata/Crypto/Util/RFC1751.py
  16. +0 −16 gdata/Crypto/Util/__init__.py
  17. +0 −201 gdata/Crypto/Util/number.py
  18. +0 −421 gdata/Crypto/Util/randpool.py
  19. +0 −453 gdata/Crypto/Util/test.py
  20. +0 −25 gdata/Crypto/__init__.py
  21. +0 −38 gdata/Crypto/test.py
  22. +0 −835 gdata/__init__.py
  23. +0 −15 gdata/acl/__init__.py
  24. +0 −55 gdata/acl/data.py
  25. +0 −20 gdata/alt/__init__.py
  26. +0 −101 gdata/alt/app_engine.py
  27. +0 −311 gdata/alt/appengine.py
  28. +0 −223 gdata/analytics/__init__.py
  29. +0 −129 gdata/analytics/client.py
  30. +0 −273 gdata/analytics/data.py
  31. +0 −331 gdata/analytics/service.py
  32. +0 −526 gdata/apps/__init__.py
  33. +0 −16 gdata/apps/adminsettings/__init__.py
  34. +0 −476 gdata/apps/adminsettings/service.py
  35. +0 −15 gdata/apps/emailsettings/__init__.py
  36. +0 −269 gdata/apps/emailsettings/service.py
  37. 0 gdata/apps/groups/__init__.py
  38. +0 −310 gdata/apps/groups/service.py
  39. +0 −212 gdata/apps/migration/__init__.py
  40. +0 −129 gdata/apps/migration/service.py
  41. +0 −553 gdata/apps/service.py
  42. +0 −952 gdata/auth.py
  43. +0 −687 gdata/base/__init__.py
  44. +0 −256 gdata/base/service.py
  45. +0 −202 gdata/blogger/__init__.py
  46. +0 −153 gdata/blogger/client.py
  47. +0 −146 gdata/blogger/data.py
  48. +0 −142 gdata/blogger/service.py
  49. +0 −473 gdata/books/__init__.py
  50. +0 −90 gdata/books/data.py
  51. +0 −266 gdata/books/service.py
  52. +0 −1,044 gdata/calendar/__init__.py
  53. +0 −300 gdata/calendar/data.py
  54. +0 −595 gdata/calendar/service.py
  55. +0 −821 gdata/client.py
  56. +0 −136 gdata/codesearch/__init__.py
  57. +0 −109 gdata/codesearch/service.py
  58. +0 −741 gdata/contacts/__init__.py
  59. +0 −468 gdata/contacts/client.py
  60. +0 −474 gdata/contacts/data.py
  61. +0 −427 gdata/contacts/service.py
  62. +0 −1,172 gdata/data.py
  63. +0 −269 gdata/docs/__init__.py
  64. +0 −579 gdata/docs/client.py
  65. +0 −237 gdata/docs/data.py
  66. +0 −611 gdata/docs/service.py
  67. +0 −15 gdata/dublincore/__init__.py
  68. +0 −78 gdata/dublincore/data.py
  69. +0 −217 gdata/exif/__init__.py
  70. +0 −486 gdata/finance/__init__.py
  71. +0 −156 gdata/finance/data.py
  72. +0 −243 gdata/finance/service.py
  73. +0 −1,143 gdata/gauth.py
  74. +0 −185 gdata/geo/__init__.py
  75. +0 −92 gdata/geo/data.py
  76. +0 −229 gdata/health/__init__.py
  77. +0 −263 gdata/health/service.py
  78. 0 gdata/maps/__init__.py
  79. +0 −178 gdata/maps/client.py
  80. +0 −125 gdata/maps/data.py
  81. +0 −355 gdata/media/__init__.py
  82. +0 −159 gdata/media/data.py
  83. +0 −15 gdata/notebook/__init__.py
  84. +0 −55 gdata/notebook/data.py
  85. +0 −524 gdata/oauth/__init__.py
  86. +0 −120 gdata/oauth/rsa.py
  87. +0 −15 gdata/opensearch/__init__.py
  88. +0 −48 gdata/opensearch/data.py
  89. +0 −1,112 gdata/photos/__init__.py
  90. +0 −680 gdata/photos/service.py
  91. +0 −1 gdata/projecthosting/__init__.py
  92. +0 −198 gdata/projecthosting/client.py
  93. +0 −140 gdata/projecthosting/data.py
  94. +0 −269 gdata/sample_util.py
  95. +0 −1,733 gdata/service.py
  96. 0 gdata/sites/__init__.py
  97. +0 −362 gdata/sites/client.py
  98. +0 −327 gdata/sites/data.py
  99. +0 −474 gdata/spreadsheet/__init__.py
  100. +0 −478 gdata/spreadsheet/service.py
  101. +0 −559 gdata/spreadsheet/text_db.py
  102. 0 gdata/spreadsheets/__init__.py
  103. +0 −415 gdata/spreadsheets/client.py
  104. +0 −312 gdata/spreadsheets/data.py
  105. +0 −375 gdata/test_config.py
  106. +0 −5,248 gdata/test_data.py
  107. +0 −120 gdata/tlslite/BaseDB.py
  108. +0 −146 gdata/tlslite/Checker.py
  109. +0 −220 gdata/tlslite/FileObject.py
  110. +0 −159 gdata/tlslite/HandshakeSettings.py
  111. +0 −131 gdata/tlslite/Session.py
  112. +0 −103 gdata/tlslite/SessionCache.py
  113. +0 −58 gdata/tlslite/SharedKeyDB.py
  114. +0 −1,600 gdata/tlslite/TLSConnection.py
  115. +0 −1,123 gdata/tlslite/TLSRecordLayer.py
  116. +0 −90 gdata/tlslite/VerifierDB.py
  117. +0 −133 gdata/tlslite/X509.py
  118. +0 −181 gdata/tlslite/X509CertChain.py
  119. +0 −39 gdata/tlslite/__init__.py
  120. +0 −75 gdata/tlslite/api.py
  121. +0 −225 gdata/tlslite/constants.py
  122. +0 −149 gdata/tlslite/errors.py
  123. +0 −235 gdata/tlslite/integration/AsyncStateMachine.py
  124. +0 −163 gdata/tlslite/integration/ClientHelper.py
  125. +0 −169 gdata/tlslite/integration/HTTPTLSConnection.py
  126. +0 −132 gdata/tlslite/integration/IMAP4_TLS.py
  127. +0 −52 gdata/tlslite/integration/IntegrationHelper.py
  128. +0 −142 gdata/tlslite/integration/POP3_TLS.py
  129. +0 −114 gdata/tlslite/integration/SMTP_TLS.py
  130. +0 −139 gdata/tlslite/integration/TLSAsyncDispatcherMixIn.py
  131. +0 −59 gdata/tlslite/integration/TLSSocketServerMixIn.py
  132. +0 −196 gdata/tlslite/integration/TLSTwistedProtocolWrapper.py
  133. +0 −137 gdata/tlslite/integration/XMLRPCTransport.py
  134. +0 −17 gdata/tlslite/integration/__init__.py
  135. +0 −170 gdata/tlslite/mathtls.py
  136. +0 −561 gdata/tlslite/messages.py
  137. +0 −31 gdata/tlslite/utils/AES.py
  138. +0 −34 gdata/tlslite/utils/ASN1Parser.py
  139. +0 −34 gdata/tlslite/utils/Cryptlib_AES.py
  140. +0 −28 gdata/tlslite/utils/Cryptlib_RC4.py
  141. +0 −35 gdata/tlslite/utils/Cryptlib_TripleDES.py
  142. +0 −49 gdata/tlslite/utils/OpenSSL_AES.py
  143. +0 −25 gdata/tlslite/utils/OpenSSL_RC4.py
  144. +0 −148 gdata/tlslite/utils/OpenSSL_RSAKey.py
  145. +0 −44 gdata/tlslite/utils/OpenSSL_TripleDES.py
  146. +0 −22 gdata/tlslite/utils/PyCrypto_AES.py
  147. +0 −22 gdata/tlslite/utils/PyCrypto_RC4.py
  148. +0 −61 gdata/tlslite/utils/PyCrypto_RSAKey.py
  149. +0 −22 gdata/tlslite/utils/PyCrypto_TripleDES.py
  150. +0 −68 gdata/tlslite/utils/Python_AES.py
  151. +0 −39 gdata/tlslite/utils/Python_RC4.py
  152. +0 −209 gdata/tlslite/utils/Python_RSAKey.py
  153. +0 −17 gdata/tlslite/utils/RC4.py
  154. +0 −264 gdata/tlslite/utils/RSAKey.py
  155. +0 −26 gdata/tlslite/utils/TripleDES.py
  156. +0 −31 gdata/tlslite/utils/__init__.py
  157. +0 −111 gdata/tlslite/utils/cipherfactory.py
  158. +0 −94 gdata/tlslite/utils/codec.py
  159. +0 −140 gdata/tlslite/utils/compat.py
  160. +0 −400 gdata/tlslite/utils/cryptomath.py
  161. +0 −75 gdata/tlslite/utils/dateFuncs.py
  162. +0 −104 gdata/tlslite/utils/hmac.py
  163. +0 −195 gdata/tlslite/utils/jython_compat.py
  164. +0 −243 gdata/tlslite/utils/keyfactory.py
  165. +0 −392 gdata/tlslite/utils/rijndael.py
  166. +0 −201 gdata/tlslite/utils/xmltools.py
  167. +0 −247 gdata/urlfetch.py
  168. +0 −544 gdata/webmastertools/__init__.py
  169. +0 −217 gdata/webmastertools/data.py
  170. +0 −516 gdata/webmastertools/service.py
  171. +0 −684 gdata/youtube/__init__.py
  172. +0 −477 gdata/youtube/data.py
  173. +0 −1,560 gdata/youtube/service.py
@@ -1,33 +0,0 @@
-"""Secret-key encryption algorithms.
-
-Secret-key encryption algorithms transform plaintext in some way that
-is dependent on a key, producing ciphertext. This transformation can
-easily be reversed, if (and, hopefully, only if) one knows the key.
-
-The encryption modules here all support the interface described in PEP
-272, "API for Block Encryption Algorithms".
-
-If you don't know which algorithm to choose, use AES because it's
-standard and has undergone a fair bit of examination.
-
-Crypto.Cipher.AES Advanced Encryption Standard
-Crypto.Cipher.ARC2 Alleged RC2
-Crypto.Cipher.ARC4 Alleged RC4
-Crypto.Cipher.Blowfish
-Crypto.Cipher.CAST
-Crypto.Cipher.DES The Data Encryption Standard. Very commonly used
- in the past, but today its 56-bit keys are too small.
-Crypto.Cipher.DES3 Triple DES.
-Crypto.Cipher.IDEA
-Crypto.Cipher.RC5
-Crypto.Cipher.XOR The simple XOR cipher.
-"""
-
-__all__ = ['AES', 'ARC2', 'ARC4',
- 'Blowfish', 'CAST', 'DES', 'DES3', 'IDEA', 'RC5',
- 'XOR'
- ]
-
-__revision__ = "$Id: __init__.py,v 1.7 2003/02/28 15:28:35 akuchling Exp $"
-
-
View
@@ -1,108 +0,0 @@
-"""HMAC (Keyed-Hashing for Message Authentication) Python module.
-
-Implements the HMAC algorithm as described by RFC 2104.
-
-This is just a copy of the Python 2.2 HMAC module, modified to work when
-used on versions of Python before 2.2.
-"""
-
-__revision__ = "$Id: HMAC.py,v 1.5 2002/07/25 17:19:02 z3p Exp $"
-
-import string
-
-def _strxor(s1, s2):
- """Utility method. XOR the two strings s1 and s2 (must have same length).
- """
- return "".join(map(lambda x, y: chr(ord(x) ^ ord(y)), s1, s2))
-
-# The size of the digests returned by HMAC depends on the underlying
-# hashing module used.
-digest_size = None
-
-class HMAC:
- """RFC2104 HMAC class.
-
- This supports the API for Cryptographic Hash Functions (PEP 247).
- """
-
- def __init__(self, key, msg = None, digestmod = None):
- """Create a new HMAC object.
-
- key: key for the keyed hash object.
- msg: Initial input for the hash, if provided.
- digestmod: A module supporting PEP 247. Defaults to the md5 module.
- """
- if digestmod == None:
- import md5
- digestmod = md5
-
- self.digestmod = digestmod
- self.outer = digestmod.new()
- self.inner = digestmod.new()
- try:
- self.digest_size = digestmod.digest_size
- except AttributeError:
- self.digest_size = len(self.outer.digest())
-
- blocksize = 64
- ipad = "\x36" * blocksize
- opad = "\x5C" * blocksize
-
- if len(key) > blocksize:
- key = digestmod.new(key).digest()
-
- key = key + chr(0) * (blocksize - len(key))
- self.outer.update(_strxor(key, opad))
- self.inner.update(_strxor(key, ipad))
- if (msg):
- self.update(msg)
-
-## def clear(self):
-## raise NotImplementedError, "clear() method not available in HMAC."
-
- def update(self, msg):
- """Update this hashing object with the string msg.
- """
- self.inner.update(msg)
-
- def copy(self):
- """Return a separate copy of this hashing object.
-
- An update to this copy won't affect the original object.
- """
- other = HMAC("")
- other.digestmod = self.digestmod
- other.inner = self.inner.copy()
- other.outer = self.outer.copy()
- return other
-
- def digest(self):
- """Return the hash value of this hashing object.
-
- This returns a string containing 8-bit data. The object is
- not altered in any way by this function; you can continue
- updating the object after calling this function.
- """
- h = self.outer.copy()
- h.update(self.inner.digest())
- return h.digest()
-
- def hexdigest(self):
- """Like digest(), but returns a string of hexadecimal digits instead.
- """
- return "".join([string.zfill(hex(ord(x))[2:], 2)
- for x in tuple(self.digest())])
-
-def new(key, msg = None, digestmod = None):
- """Create a new hashing object and return it.
-
- key: The starting key for the hash.
- msg: if available, will immediately be hashed into the object's starting
- state.
-
- You can now feed arbitrary strings into the object using its update()
- method, and can ask for the hash value at any time by calling its digest()
- method.
- """
- return HMAC(key, msg, digestmod)
-
View
@@ -1,13 +0,0 @@
-
-# Just use the MD5 module from the Python standard library
-
-__revision__ = "$Id: MD5.py,v 1.4 2002/07/11 14:31:19 akuchling Exp $"
-
-from md5 import *
-
-import md5
-if hasattr(md5, 'digestsize'):
- digest_size = digestsize
- del digestsize
-del md5
-
View
@@ -1,11 +0,0 @@
-
-# Just use the SHA module from the Python standard library
-
-__revision__ = "$Id: SHA.py,v 1.4 2002/07/11 14:31:19 akuchling Exp $"
-
-from sha import *
-import sha
-if hasattr(sha, 'digestsize'):
- digest_size = digestsize
- del digestsize
-del sha
@@ -1,24 +0,0 @@
-"""Hashing algorithms
-
-Hash functions take arbitrary strings as input, and produce an output
-of fixed size that is dependent on the input; it should never be
-possible to derive the input data given only the hash function's
-output. Hash functions can be used simply as a checksum, or, in
-association with a public-key algorithm, can be used to implement
-digital signatures.
-
-The hashing modules here all support the interface described in PEP
-247, "API for Cryptographic Hash Functions".
-
-Submodules:
-Crypto.Hash.HMAC RFC 2104: Keyed-Hashing for Message Authentication
-Crypto.Hash.MD2
-Crypto.Hash.MD4
-Crypto.Hash.MD5
-Crypto.Hash.RIPEMD
-Crypto.Hash.SHA
-"""
-
-__all__ = ['HMAC', 'MD2', 'MD4', 'MD5', 'RIPEMD', 'SHA', 'SHA256']
-__revision__ = "$Id: __init__.py,v 1.6 2003/12/19 14:24:25 akuchling Exp $"
-
Oops, something went wrong.

0 comments on commit 836ce56

Please sign in to comment.