Our site has a component where certain people sign up for accounts and get paid. I'm planning to do the contract online.
Googling keeps getting links to sample legal agreements, etc.
I'm concerned about how I store the contract & proof of signature. Does anyone have any pointers for storage/format of electronic legal documents?
Much appreciated.
[The ABA guidelines are one place to start looking](http://www.abanet.org/scitech/ec/isc/dsg-tutorial.html).
If I were doing it I would save the actual contract portion of things as a text file that includes (text of agreement, HMAC of the text, signed HMAC, public key of the signer) note that including the public key of the signer in no way guarantees the authenticity of the signer; it's there purely as a sanity check, since if you can't decrypt the signed hmac with the provided public key and match the original hmac (or the derived hmac) the document is invalid.