Documentation
¶
Overview ¶
Functions specifies a list of server functions, split out into different files based on API tree. Because the description of each function already exists in the dictionary package, until such a time as the dictionary is removed, the purpose of a function will be documented in the dictionary package, not here. We do, however document the message we expect to recieve for each function. All input messages are shared.Message messages.
Functions specifies a list of server functions, split out into different files based on API tree. Because the description of each function already exists in the dictionary package, until such a time as the dictionary is removed, the purpose of a function will be documented in the dictionary package, not here. We do, however document the message we expect to recieve for each function. All input messages are shared.Message messages.
Functions specifies a list of server functions, split out into different files based on API tree. Because the description of each function already exists in the dictionary package, until such a time as the dictionary is removed, the purpose of a function will be documented in the dictionary package, not here. We do, however document the message we expect to recieve for each function. All input messages are shared.Message messages.
Functions specifies a list of server functions, split out into different files based on API tree. Because the description of each function already exists in the dictionary package, until such a time as the dictionary is removed, the purpose of a function will be documented in the dictionary package, not here. We do, however document the message we expect to recieve for each function. All input messages are shared.Message messages.
Functions specifies a list of server functions, split out into different files based on API tree. Because the description of each function already exists in the dictionary package, until such a time as the dictionary is removed, the purpose of a function will be documented in the dictionary package, not here. We do, however document the message we expect to recieve for each function. All input messages are shared.Message messages.
Index ¶
- func AdminNew(cfg *shared.Config, r shared.Request)
- func AdminSuper(cfg *shared.Config, r shared.Request)
- func ClientGetSecret(cfg *shared.Config, r shared.Request)
- func ClientRegister(cfg *shared.Config, r shared.Request)
- func GetCA(cfg *shared.Config, r shared.Request)
- func GroupDel(cfg *shared.Config, r shared.Request)
- func GroupList(cfg *shared.Config, r shared.Request)
- func GroupNew(cfg *shared.Config, r shared.Request)
- func GroupPrivKey(cfg *shared.Config, r shared.Request)
- func GroupPubKey(cfg *shared.Config, r shared.Request)
- func SecretAssignGroup(cfg *shared.Config, r shared.Request)
- func SecretAssignUser(cfg *shared.Config, r shared.Request)
- func SecretDel(cfg *shared.Config, r shared.Request)
- func SecretGet(cfg *shared.Config, r shared.Request)
- func SecretList(cfg *shared.Config, r shared.Request)
- func SecretListGroup(cfg *shared.Config, r shared.Request)
- func SecretListUser(cfg *shared.Config, r shared.Request)
- func SecretNew(cfg *shared.Config, r shared.Request)
- func SecretPrivKey(cfg *shared.Config, r shared.Request)
- func SecretPubKey(cfg *shared.Config, r shared.Request)
- func SecretRemoveGroup(cfg *shared.Config, r shared.Request)
- func SecretRemoveUser(cfg *shared.Config, r shared.Request)
- func SecretUpdate(cfg *shared.Config, r shared.Request)
- func SetPubkey(cfg *shared.Config, r shared.Request)
- func SetSuperKey(cfg *shared.Config, r shared.Request)
- func SuperPubKey(cfg *shared.Config, r shared.Request)
- func UserDel(cfg *shared.Config, r shared.Request)
- func UserGroupAssign(cfg *shared.Config, r shared.Request)
- func UserList(cfg *shared.Config, r shared.Request)
- func UserPass(cfg *shared.Config, r shared.Request)
- func UserPubKey(cfg *shared.Config, r shared.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdminSuper ¶
User.Name => name Key.GroupPriv => Copy of the supergroup private key, encrypted with the public key of the target admin
func ClientRegister ¶
User.Name => name User.Password => encrypted password User.Key => public part of local key
func GroupNew ¶
User.Group => group name User.Admin => group type Key.GroupPub => Public key for group Key.GroupPriv => Private key for group, encrypted with the super public key
func GroupPrivKey ¶
User.Group => group name User.Admin => admin/client group
func GroupPubKey ¶
User.Group => group name User.Admin => admin/client group
func SecretAssignGroup ¶
User.Group => group name User.Admin => admin/client group Key.Name => secret name Key.Key => secret key encoded with the public key of the target group key.Path => secret path (non-admin group only)
func SecretAssignUser ¶
User.Name => user name User.Admin => admin/client user Key.Name => secret name Key.Key => secret key encoded with the public key of the target user key.Path => secret path (non-admin users only)
func SecretListGroup ¶
User.Group => group name User.Admin => admin/client group
func SecretListUser ¶
User.Name => name User.Admin => admin/client user
func SecretNew ¶
Key.Name => name Key.Secret => encrypted payload Key.Key => unique encryption key for payload encrypted with the supergroup pubkey Key.UserKey => copy of above key, encrypted with admin local key
func SecretPrivKey ¶
Key.Name => secret name
func SecretRemoveGroup ¶
User.Group => group name User.Admin => admin/client group Key.Name => secret name
func SecretRemoveUser ¶
User.Name => user name User.Admin => admin/client user Key.Name => secret name
func SecretUpdate ¶
Key.Name => name Key.Secret => encrypted payload
func SetSuperKey ¶
Key.GroupPub => supergroup public key Key.GroupPriv => supergroup private key encrypted by the calling admin
func UserGroupAssign ¶
This function relies on the client sending a pre-encrypted group key. We can't do this on the server as it would involve having the ability to decrypt keys.
User.Name => name User.Admin => admin/client user User.Group => name of group Key.GroupPriv => Copy of the group private key, encrypted with the public key of the target admin
Types ¶
This section is empty.