Skip to content

Latest commit

 

History

History
325 lines (205 loc) · 3.34 KB

Keys.md

File metadata and controls

325 lines (205 loc) · 3.34 KB

Node Key File

.key.json

filedata

  • vendor

    • Privateness
  • type

    • key
  • for

    • node

keys

  • private
  • public
  • verify

url

nonce

  • cryptographic salt

master-user

  • master user (admin) name

tags

  • comma,separated,tags

tariff

  • amount of coin hours per each tick count

worm

directory

flashdrive

User Key File (flashdrive)

.key.json

filedata

  • vendor

    • Privateness
  • type

    • key
  • for

    • user

username

keys

  • private

    • [array of keys]
  • public

    • [array of keys]
  • verify

    • [array of keys]
  • current

    • current key index (private, public, verify)

nonce

  • cryptographic salt

tags

  • coma,separated,tags

worm

directory

flashdrive

Nodes list (local)

nodes.json

filedata

  • vendor

    • Privateness
  • type

    • data
  • for

    • nodes-list

nodes[]

  • 0

    • url

      • service node url where file is stored
    • pub

      • public key
    • ver

      • verify key
    • nonce

    • master

    • tariff

    • tags[]

  • 1

  • ...

directory

~/.privateness-keys

User Key File (local)

.local.key.json

filedata

  • vendor

    • Privateness
  • type

    • key
  • for

    • user-local

username

keys

  • public
  • private
  • verify

nonce

  • cryptographic salt

directory

~/.privateness-keys

+++

+++


=== Password Encrypted Key File

.encrypted.keys.json OR .encrypted.key.json OR local.encrypted.keys.json

filedata

  • vendor

    • Privateness
  • type

    • encrypted-keys
  • for

    • user
    • node
    • local
  • cipher

    • salsa20

keys [...]

  • Password Encrypted Key 1 gwh8gw47gh8o
  • Password Encrypted Key 2 wo3hgw78o3hgw
  • ...

crc [...]

  • crc for key 0
  • crc for key 1
  • ........

directory

flashdrive

Files info (local)

files.json

filedata

  • vendor

    • Privateness
  • type

    • service
  • for

    • files

files

  • node url (service node URL where file is stored)
    • filename1

      • cipher

        • 78oqf3hfyuf;ohf9qp43hgafgre (separate cipher for each file)
      • cipher-type

        • salsa20
      • shadowname

        • generated shadowname of the file (stored localy)
      • directory

    • filename2 ...

directory

~/.privateness-keys

My Nodes (local)

directory

~/.privateness-keys

my-nodes.json

filedata

  • vendor

    • Privateness
  • type

    • service
  • for

    • node

current-node

  • node URL

my-nodes

  • URL

    • shadowname
      • users shadowname (for this current node)
  • URL

  • URL

Blockchain RPC (local)

blockchain-rpc.json

filedata

  • vendor

    • Privateness
  • type

    • config
  • for

    • blockchain

rpc-host

rpc-port

rpc-user

rpc-password

Tasks