summaryrefslogtreecommitdiff
path: root/tests/test_strings.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_strings.py')
-rw-r--r--tests/test_strings.py15
1 files changed, 1 insertions, 14 deletions
diff --git a/tests/test_strings.py b/tests/test_strings.py
index 8baa63d..38fae06 100644
--- a/tests/test_strings.py
+++ b/tests/test_strings.py
@@ -7,7 +7,7 @@ import rsa
class StringTest(unittest.TestCase):
def setUp(self):
- (self.pub, self.priv) = rsa.newkeys(64)
+ (self.pub, self.priv) = rsa.newkeys(384)
def test_enc_dec(self):
@@ -22,16 +22,3 @@ class StringTest(unittest.TestCase):
self.assertEqual(message, decrypted)
- def test_sign_verify(self):
-
- message = u"Euro=\u20ac ABCDEFGHIJKLMNOPQRSTUVWXYZ".encode('utf-8')
- print "\tMessage: %s" % message
-
- signed = rsa.sign(message, self.priv)
- print "\tSigned: %s" % signed
-
- verified = rsa.verify(signed, self.pub)
- print "\tVerified: %s" % verified
-
- self.assertEqual(message, verified)
-