5
0
mirror of https://github.com/cwinfo/hyperboria-peers.git synced 2024-09-08 00:24:32 +00:00

Make peerName a required field (#118)

This commit is contained in:
kpcyrd 2017-12-22 08:35:43 +01:00 committed by ansuz
parent fed5ad77dd
commit 20b2c044ba
4 changed files with 4 additions and 2 deletions

View File

@ -2,6 +2,7 @@
"188.166.3.174:4841":{
"contact":"oniichan@mrowr.me",
"password":"public-20150903-6pb6aEKDDKVr9zsBJIyDUYfrXYzQv1",
"peerName":"mrowr.me",
"publicKey":"s680fh7g69ww3y9cmrxt910u5hvrwrmcnln1sz6mq1jk5mquq8k0.k",
"user":"katt"
}

View File

@ -2,6 +2,7 @@
"188.226.183.183:43328":{
"contact":"hype@smash-net.org",
"password":"public_access",
"peerName":"weuxel.ams",
"publicKey":"1y1jmqrw4r31jlp6yqmq30067rcp0tsgsdm3cs4k8l33pyfhpwn0.k",
"user":"weuxel"
}

View File

@ -4,8 +4,8 @@
"gpg":"6610FE2B6BD98C42",
"location":"Chicago, IL, USA",
"login":"public-access",
"name":"vishnu",
"password":"39XBepVM7TxGWAoROgUzixlbAnkh7WRY",
"peerName":"vishnu",
"publicKey":"dhndkly9mhmckbcrb1rgl051ty9fg5zq0tmnms8wxns08fu7kvv0.k"
}
}

View File

@ -4,7 +4,7 @@ import json
import os
import sys
REQUIRED_FIELDS = ['publicKey', 'password', 'contact']
REQUIRED_FIELDS = ['publicKey', 'password', 'contact', 'peerName']
RECOMMENDED_FIELDS = ['gpg', 'login']
RED = '\x1b[01;31m'