Re: signing small pieces of data

From: Michel Gallant (neutron_at_NOSPAMistar.ca)
Date: 03/24/04


Date: Wed, 24 Mar 2004 15:33:42 -0500



"Dimitris Papadimitriou" <nospam@nospam.com> wrote in message
news:uHjxhudEEHA.3412@TK2MSFTNGP10.phx.gbl...
> Thx for you quick response Michel!

> Check this out: I want the end-user to be able to sign an entire record of
> an sql server table, so that other users can be sure that the data of this
> particular record was entered by him/her and that they haven't been altered
> ever since. After the end-user enteres the data, my application creates an
> XML string of these data, then a hash digest of this XML, which is finally
> encrypted using the end-user's private key. The encrypted piece of data is
> attached to the initial record (for instance in a field created for this
> purpose in the table), creating a digitally singed database record!
>
> How do you find this idea? Would this be a proper way to digitally sign
> database records?

Well, this is exactly what I have done here :-). Of course no server is doing
the signing on my behalf .. I am in charge of the signing (is that what you meant?)
So, here the content above has been hashed (SHA1) and then built into a nices
PKCS#1 encryption block, with that hash stuffed into it along with algID etc..
and then signed with my private RSA key and returned to the (news) server.

I can't deny snipping out some of the original content now :-)
Cheers,
- Mitch






Relevant Pages

  • Re: X509 Certificate Help
    ... You also need to install the private key on the server (Server.PFX instead ... >>>Encryption of SOAP Message using same Key's and at same location. ... >>>for signing and encryption both. ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • [NT] Multiple Vulnerabilities in HP Web JetAdmin (Read, Write, Execute, Path Disclosure, Password De
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... HP Web JetAdmin is an enterprise management system for large amounts of HP ... The web server is a modular service ... HP Web JetAdmin uses it's own encryption. ...
    (Securiteam)
  • Re: Advice needed on secure remote datacenter and secure communication
    ... fair bit of time working with windows server, ... as for VPN, ... Addressing your issue with PGP encryption on sensitive files, ...
    (alt.computer.security)
  • Re: Proposal for Lite Encryption for Login Form without SSL
    ... the form uses javascript to hash the password ... This way the password is not sent to the server ... This would be the equivalent to a public key in public key encryption ...
    (comp.lang.php)
  • Re: Socket Server with Encryption help
    ... Before the client ... Authentication protocols are fiercely difficult to get right. ... by Needham and Schroeder "Using encryption for authentication in large ... Client connects into Server and Server accepts the connection. ...
    (microsoft.public.dotnet.security)