Page History
Sets PGP keys as default to your profile. (!)All files which was encrypted by previous keys will be unavalieble.
Parameters
Name | Type | Description |
id required | string | key_request id |
data required | array | PGP keys metadata |
cb optional | function | callback metadata |
Example
Code Block | ||
---|---|---|
| ||
this.sendKeys = function(id, data, cb) { return _request({ method: 'POST', url: '/key_request/respond/'+id, data: data, callback: cb }); }; |
Example Result
Code Block | ||
---|---|---|
| ||
{ name: 'pgpkey', private: "", public: "" } |