mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-06 21:58:57 -04:00
* Renamed RS_TLVKEY_DISTRIB_PRIVATE into *_PUBLISH, as it is used as such.
* Allow to check signatures and validate groups using private keys in GxsSecurity * removed inconsistency in key flags when full keys where mixed up with publish keys. This should fix the following bugs: * channel owners did not receive posts from other peers who have publish rights * channels sometimes not gettign through git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8275 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
252424932c
commit
13ff39429e
5 changed files with 51 additions and 44 deletions
|
@ -36,15 +36,15 @@
|
|||
#include <map>
|
||||
|
||||
const uint32_t RSTLV_KEY_TYPE_MASK = 0x000f;
|
||||
const uint32_t RSTLV_KEY_DISTRIB_MASK = 0x00f0;
|
||||
const uint32_t RSTLV_KEY_TYPE_PUBLIC_ONLY = 0x0001;
|
||||
const uint32_t RSTLV_KEY_TYPE_FULL = 0x0002;
|
||||
const uint32_t RSTLV_KEY_TYPE_SHARED = 0x0004;
|
||||
const uint32_t RSTLV_KEY_DISTRIB_PUBLIC = 0x0010;
|
||||
const uint32_t RSTLV_KEY_DISTRIB_PRIVATE = 0x0020;
|
||||
|
||||
const uint32_t RSTLV_KEY_DISTRIB_PUBLIC_deprecated = 0x0010;// was used as PUBLISH flag. Probably a typo.
|
||||
|
||||
const uint32_t RSTLV_KEY_DISTRIB_PUBLISH = 0x0020;
|
||||
const uint32_t RSTLV_KEY_DISTRIB_ADMIN = 0x0040;
|
||||
const uint32_t RSTLV_KEY_DISTRIB_IDENTITY = 0x0080;
|
||||
|
||||
const uint32_t RSTLV_KEY_DISTRIB_MASK = 0x00f0;
|
||||
|
||||
class RsTlvSecurityKey: public RsTlvItem
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue