Commits

Martin Geisler committed 42d1320

Added key for Bob, gave old key to Alice.

  • Participants
  • Parent commits 3a27428

Comments (0)

Files changed (7)

tests/openssl/alice.pub.pem

+-----BEGIN PUBLIC KEY-----
+MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5YoXkv8z7/dz10v92vhK
+TphzDpRShCLOiGdhrCoB3mgIBJb/o5apzg+hpofvkFzvXBqdhobF9BEw8WXpSdTI
+f4pgvpLyrV7/YVvLw1CSC01ivcxaOk8uZAqIh/O0+FuaU51QPrQeso0iPYRybFOa
+lFgdLdCRxPmUOWdbEjaeTc8WmTL64/wmLMeW9XG3QIt6Bz4WHeDknJ/+DedwdN+T
+zriQUPP+9SYA0B1Q8WBIuEnG2qlgBTabcRTRoe8azZ3GUI+dYQOz4gIOvra45qBE
+Usfm7XulqtDdkBvivchlc57vfFmUtxaBLiQk/zxIxGS9ttN+PCc876Bv8UlXuJo5
+/wIDAQAB
+-----END PUBLIC KEY-----

tests/openssl/alice.sec.pem

+-----BEGIN RSA PRIVATE KEY-----
+MIIEowIBAAKCAQEA5YoXkv8z7/dz10v92vhKTphzDpRShCLOiGdhrCoB3mgIBJb/
+o5apzg+hpofvkFzvXBqdhobF9BEw8WXpSdTIf4pgvpLyrV7/YVvLw1CSC01ivcxa
+Ok8uZAqIh/O0+FuaU51QPrQeso0iPYRybFOalFgdLdCRxPmUOWdbEjaeTc8WmTL6
+4/wmLMeW9XG3QIt6Bz4WHeDknJ/+DedwdN+TzriQUPP+9SYA0B1Q8WBIuEnG2qlg
+BTabcRTRoe8azZ3GUI+dYQOz4gIOvra45qBEUsfm7XulqtDdkBvivchlc57vfFmU
+txaBLiQk/zxIxGS9ttN+PCc876Bv8UlXuJo5/wIDAQABAoIBAA0t/6qGEsJdj/41
+s87F4OZgZILay14g7YDxhq8u/kp56LPyw5zuArP9O8fnGD9OxsOgF5lo1abs8cV6
+l4mQuS5xkJqAr4R65uj9L1b4oloZyGijei7M6xn9bNd5i9O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jTuNVuRG1IMsj8osIX5MitOGgDQX
+/AKTa7VPrvSCW9d4J1KRRKsnfPb2laOiC6WQvNOmOzoAuv+nlyKy
+-----END RSA PRIVATE KEY-----

tests/openssl/pub.pem

------BEGIN PUBLIC KEY-----
-MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5YoXkv8z7/dz10v92vhK
-TphzDpRShCLOiGdhrCoB3mgIBJb/o5apzg+hpofvkFzvXBqdhobF9BEw8WXpSdTI
-f4pgvpLyrV7/YVvLw1CSC01ivcxaOk8uZAqIh/O0+FuaU51QPrQeso0iPYRybFOa
-lFgdLdCRxPmUOWdbEjaeTc8WmTL64/wmLMeW9XG3QIt6Bz4WHeDknJ/+DedwdN+T
-zriQUPP+9SYA0B1Q8WBIuEnG2qlgBTabcRTRoe8azZ3GUI+dYQOz4gIOvra45qBE
-Usfm7XulqtDdkBvivchlc57vfFmUtxaBLiQk/zxIxGS9ttN+PCc876Bv8UlXuJo5
-/wIDAQAB
------END PUBLIC KEY-----

tests/openssl/sec.pem

------BEGIN RSA PRIVATE KEY-----
-MIIEowIBAAKCAQEA5YoXkv8z7/dz10v92vhKTphzDpRShCLOiGdhrCoB3mgIBJb/
-o5apzg+hpofvkFzvXBqdhobF9BEw8WXpSdTIf4pgvpLyrV7/YVvLw1CSC01ivcxa
-Ok8uZAqIh/O0+FuaU51QPrQeso0iPYRybFOalFgdLdCRxPmUOWdbEjaeTc8WmTL6
-4/wmLMeW9XG3QIt6Bz4WHeDknJ/+DedwdN+TzriQUPP+9SYA0B1Q8WBIuEnG2qlg
-BTabcRTRoe8azZ3GUI+dYQOz4gIOvra45qBEUsfm7XulqtDdkBvivchlc57vfFmU
-txaBLiQk/zxIxGS9ttN+PCc876Bv8UlXuJo5/wIDAQABAoIBAA0t/6qGEsJdj/41
-s87F4OZgZILay14g7YDxhq8u/kp56LPyw5zuArP9O8fnGD9OxsOgF5lo1abs8cV6
-l4mQuS5xkJqAr4R65uj9L1b4oloZy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JMUZI+DS3ynGgWg4d7yyb
-WvsnBUJalHqNDjMMG8fUXw0q7gONwLHaKkx2YjYq1jQpIdMmks5i
------END RSA PRIVATE KEY-----

tests/test-commitsigs

 cat >> $HGRCPATH <<EOF
 [commitsigs]
 scheme = openssl
-openssl.pubkey = $TESTDIR/openssl/pub.pem
-openssl.seckey = $TESTDIR/openssl/sec.pem
+openssl.pubkey = $TESTDIR/openssl/alice.pub.pem
+openssl.seckey = $TESTDIR/openssl/alice.sec.pem
 EOF
 
 echo "!" >> a.txt