Purpose for the signature of a monotime. More...
Data Fields | |
struct GNUNET_CRYPTO_EccSignaturePurpose | purpose |
Purpose is GNUNET_SIGNATURE_PURPOSE_CADET_CONNECTION_INITIATOR. More... | |
struct GNUNET_TIME_AbsoluteNBO | monotonic_time |
Time at the initiator when generating the signature. More... | |
Purpose for the signature of a monotime.
Definition at line 191 of file gnunet-service-cadet_connection.h.
struct GNUNET_CRYPTO_EccSignaturePurpose CadetConnectionCreatePS::purpose |
Purpose is GNUNET_SIGNATURE_PURPOSE_CADET_CONNECTION_INITIATOR.
Definition at line 197 of file gnunet-service-cadet_connection.h.
Referenced by GCP_check_monotime_sig(), and set_monotime_sig().
struct GNUNET_TIME_AbsoluteNBO CadetConnectionCreatePS::monotonic_time |
Time at the initiator when generating the signature.
Note that the receiver MUST IGNORE the absolute time, and only interpret the value as a mononic time and reject "older" values than the last one observed. This is necessary as we do not want to require synchronized clocks and may not have a bidirectional communication channel.
Even with this, there is no real guarantee against replay achieved here, unless the latest timestamp is persisted. Persistence should be provided via PEERSTORE if possible.
Definition at line 211 of file gnunet-service-cadet_connection.h.