coniks-sys / coniks-go

A CONIKS implementation in Golang
http://coniks.org
Other
116 stars 30 forks source link

Refactor the ServerBase API #198

Open masomel opened 6 years ago

masomel commented 6 years ago

ServerBase is a generic server API that can be used to implement any server-side functionality used in CONIKS components (e.g. key server, auditor service)

See https://github.com/coniks-sys/coniks-go/pull/195/files/c86968440e2d93561f539cfb617ab7692cde9465#diff-29ca0f53bd9a1d94bcc57fe038e0a55e

vqhuy commented 6 years ago

See the note: https://github.com/coniks-sys/coniks-go/blob/master/application/serverbase.go#L253

masomel commented 6 years ago

From an internal discussion:

I moved EpochDeadline to ServerBaseConfig in #199, but it shouldn’t be here, since it’s server-specific value (in case of auditors with multiple servers).