Dr. Dobb's is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.


Channels ▼
RSS

Web Development

XFDL: The Extensible Forms Description Language


Dec99: The Digital Signature Problem

The Digital Signature Problem

For a technology to offer digital signatures on transaction records is not enough. To see why, consider the purpose of digital signatures. The typical text-book formulation for the digital signature algorithm states that a signature S for a message M is formed by the function Encrypt(hash(M), PrivateKey), and that verification of signature S is formed by testing the equality of hash(M) and Decrypt(S, PublicKey). The hash() function must be a mathematically sound method of measuring change in M. Actually, one well-known shortcoming in this formulation is that the security it offers is dependent upon the reliability of the method for delivering the public key to the verification phase. Public Key Infrastructures (PKIs) are one method of solving this problem, and its seriousness may be measured by the current enormity of the PKI industry. There is another problem, equally important, at the opposite end of the formulation above -- during signing.

Consider this question: Why is the signer signing M? The signer of M is not an island. The signer affixes a signature only when it is necessary to give M to another party -- the verifier. Because M has a source and a destination, it is essentially a transaction record. The nature of the transaction must be important to the parties or there would be no need for a signature. The digital signature authenticates both the message content and the message signer, but what if the message does not contain sufficient information to capture the nature of the transaction? You expect the digital signature to offer nonrepudiation of the transaction, but this is only satisfied by nonrepudiation of M to the extent that M completely represents the transaction.

Failure to recognize this point is a serious shortcoming in HTML and Java solutions to forms problems. The presentation markup (or the Java window classes) are separate from the data that is signed and submitted. The signed material does not include the text of the specific questions that correspond to the answers contained in the data, nor does it contain the fine print, the point size and color of static material like the fine print (which must be readable and distinct from the background color), nor even the positions of all items (to ensure that nothing important is sitting in negative pixel space). In short, the full context of the transaction is not preserved.

-- J.B.


Copyright © 1999, Dr. Dobb's Journal

Related Reading


More Insights






Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

 
Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.