Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004476 [Squeak 3.8] major always 08-10-06 19:14 08-10-06 19:14
Reporter Ron View Status public  
Assigned To
Priority normal Resolution open  
Status new  
Summary 0004476: [FIX] DigitalSignatureAlgorithm fails on Squeak 3.8
Description This was fixed in Squeak 3.9 but a basic test fails in 3.8.

Example:
First I generated a key set.
keys := DigitalSignatureAlgorithm generateKeySet.
Then I signed a message: 'hello' with the first key
DigitalSignatureAlgorithm sign: 'hello' privateKey: keys first. And got a signature:
'[DSA digital signature 54804CFBDB9D12EA008D7C56D46FED9EB118CA0E 834CCB8563F5B863B8041D20F2C6D9C89E120DF3]'
So if you send the message along with the public key (keys last) then they can verify the signature with:
DigitalSignatureAlgorithm verify:
'[DSA digital signature 54804CFBDB9D12EA008D7C56D46FED9EB118CA0E 834CCB8563F5B863B8041D20F2C6D9C89E120DF3]' isSignatureOf: 'hello' publicKey: keys last

on 3.8 it failed , on 3.9 it succeeded.

applying the patch fixes the problem.

Thank you Laurence Rozier for reporting the problem
Additional Information
Attached Files  DigitalSignatureAlgorithm-signatureToString.st [^] (558 bytes) 08-10-06 19:14

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
08-10-06 19:14 Ron New Issue
08-10-06 19:14 Ron File Added: DigitalSignatureAlgorithm-signatureToString.st


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
29 total queries executed.
24 unique queries executed.
Powered by Mantis Bugtracker