diff --git a/README.md b/README.md index 1f8aec0..887bb88 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,8 @@ We have tried to standardize the structure of the actual credential files, as su + publicKey + contact (a means of contacting the operator) * The following fields are not yet required, but are recommended: - + gpg, listing your 16 character pgp fingerprint (no spaces) + + gpg, listing your 16 character pgp fingerprint (all caps, no spaces) + + peerName, a human-readable name for the node * credentials should be formatted such that: - indentation uses four spaces - the file ends with a newline character. diff --git a/tests.js b/tests.js index 3a7b879..9bd716b 100644 --- a/tests.js +++ b/tests.js @@ -37,7 +37,7 @@ if (credsWithDns.length) { */ var requiredFields = ['password', 'publicKey', 'contact']; -var recommendedFields = ['gpg']; +var recommendedFields = ['gpg', 'peerName']; var insufficientFields = Peers.filter(function (x, p) { var problem = false; diff --git a/tests.py b/tests.py index 155ed15..c01a5b8 100755 --- a/tests.py +++ b/tests.py @@ -5,7 +5,7 @@ import os import sys REQUIRED_FIELDS = ['publicKey', 'password', 'contact'] -RECOMMENDED_FIELDS = ['gpg'] +RECOMMENDED_FIELDS = ['gpg', 'peerName'] RED = '\x1b[01;31m' GREEN = '\x1b[01;32m'