cloudflare / roughtime

A secure clock-synchronization protocol for when rough is enough.
https://developers.cloudflare.com/time-services/roughtime/
Apache License 2.0
136 stars 30 forks source link
ntp roughtime time

Roughtime

A fork of Google's Roughtime protocol and utilities for building Roughtime clients. This repository also implements the IETF version.

For more information about Roughtime and tips for writing your own client or server, visit the developer documentation.

Note on status

This repository currently supports draft-ietf-ntp-roughtime-11 and draft-ietf-ntp-roughtime-08. Backwards compatibility with this version is not guaranteed; users should expect breaking changes as the IETF process continues. Likewise, the API should be regarded as unstable.

If you want to use this code and the protocol please join the NTP WG mailing list so that you are aware of the evolution of the protocol and issues that others discover.

DO NOT USE IN PRODUCTION SOFTWARE

Ecosystem guidelines

We welcome pull requests for adding your Roughtime service to our list. Your PR should do the following:

A couple things to keep in mind:

Finally, a disclaimer: the ecosystem is growing, and ours might not be the definitive list of who is serving Roughtime at any given time.

Contributing

We welcome your bug fixes, issues, and improvements to either the protocol or this code. Note that substantive changes to the protocol need to be discussed on the NTP WG mailing list.