mirror of
https://github.com/cwinfo/hyperboria-peers.git
synced 2024-11-23 14:11:36 +00:00
Make peerName a required field (#118)
This commit is contained in:
parent
fed5ad77dd
commit
20b2c044ba
@ -2,6 +2,7 @@
|
|||||||
"188.166.3.174:4841":{
|
"188.166.3.174:4841":{
|
||||||
"contact":"oniichan@mrowr.me",
|
"contact":"oniichan@mrowr.me",
|
||||||
"password":"public-20150903-6pb6aEKDDKVr9zsBJIyDUYfrXYzQv1",
|
"password":"public-20150903-6pb6aEKDDKVr9zsBJIyDUYfrXYzQv1",
|
||||||
|
"peerName":"mrowr.me",
|
||||||
"publicKey":"s680fh7g69ww3y9cmrxt910u5hvrwrmcnln1sz6mq1jk5mquq8k0.k",
|
"publicKey":"s680fh7g69ww3y9cmrxt910u5hvrwrmcnln1sz6mq1jk5mquq8k0.k",
|
||||||
"user":"katt"
|
"user":"katt"
|
||||||
}
|
}
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
"188.226.183.183:43328":{
|
"188.226.183.183:43328":{
|
||||||
"contact":"hype@smash-net.org",
|
"contact":"hype@smash-net.org",
|
||||||
"password":"public_access",
|
"password":"public_access",
|
||||||
|
"peerName":"weuxel.ams",
|
||||||
"publicKey":"1y1jmqrw4r31jlp6yqmq30067rcp0tsgsdm3cs4k8l33pyfhpwn0.k",
|
"publicKey":"1y1jmqrw4r31jlp6yqmq30067rcp0tsgsdm3cs4k8l33pyfhpwn0.k",
|
||||||
"user":"weuxel"
|
"user":"weuxel"
|
||||||
}
|
}
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
"gpg":"6610FE2B6BD98C42",
|
"gpg":"6610FE2B6BD98C42",
|
||||||
"location":"Chicago, IL, USA",
|
"location":"Chicago, IL, USA",
|
||||||
"login":"public-access",
|
"login":"public-access",
|
||||||
"name":"vishnu",
|
|
||||||
"password":"39XBepVM7TxGWAoROgUzixlbAnkh7WRY",
|
"password":"39XBepVM7TxGWAoROgUzixlbAnkh7WRY",
|
||||||
|
"peerName":"vishnu",
|
||||||
"publicKey":"dhndkly9mhmckbcrb1rgl051ty9fg5zq0tmnms8wxns08fu7kvv0.k"
|
"publicKey":"dhndkly9mhmckbcrb1rgl051ty9fg5zq0tmnms8wxns08fu7kvv0.k"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
2
tests.py
2
tests.py
@ -4,7 +4,7 @@ import json
|
|||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
REQUIRED_FIELDS = ['publicKey', 'password', 'contact']
|
REQUIRED_FIELDS = ['publicKey', 'password', 'contact', 'peerName']
|
||||||
RECOMMENDED_FIELDS = ['gpg', 'login']
|
RECOMMENDED_FIELDS = ['gpg', 'login']
|
||||||
|
|
||||||
RED = '\x1b[01;31m'
|
RED = '\x1b[01;31m'
|
||||||
|
Loading…
Reference in New Issue
Block a user