Generic TSA implementation.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
CSDUMMI 8884f14345 implemented TSA. 8 months ago
src implemented TSA. 8 months ago
.gitignore main.py added 8 months ago
README.md implemented TSA. 8 months ago

README.md

Time Stamp Authority

A Server that creates timestamps of any document it is provided.

It generates backward timestamps.

Backward and Forward Timestamps
  • Forward Timestamp: A timestamp that can only be created after a certain event.
  • Backward Timestamp: A timestamp that can only be created before a certain event.

API

/timestamp

Arguments:
  • data: Data to backward timestamp.
Response
{
    "time": "BACKWARD TIMESTAMP",
    "sig": "SIGNATURE OF TIMESTAMP AND DATA"
}

/pubkey

Returns the public key of the TSA.

Arguments
Response
{
    "publickeys": [
        {
            "pubkey": "PEM of PUBLICKEY",
            "expires": "EXPIRATION TIMESTAMP"
        }
    ]
}

Timestamp Formats

Timestamps are denoted in UNIX Epoch.