Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

launcher scripts / deprecate mail param / increase RSA key size #46

Merged
merged 8 commits into from
Sep 15, 2021

Conversation

Joanguitar
Copy link
Contributor

RSA key length set to 2048 to avoid "low security" error messages in some devices such as Raspberry Pi's.
Also included main.py to launch a HiveMind server.
Can be called like: HiveMind-server and accepts the flags --port PORT to define the listening port and --name NAME --access_key ACCESS_KEY --crypto_key CRYPTO_KEY --mail MAIL to define a new user in the users database before running the server.
When defining a new user, only --name and --access_key are required.

setup.py Outdated
description='Mesh Networking utilities for mycroft core',
entry_points={
'console_scripts': [
'HiveMind-server=jarbas_hive_mind.__main__:main'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe a HiveMind-database script to handle registering/modifying/deleting clients would be a good next step? for now only with the functionality to add a client like above

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was thinking on a web interface, but a script is necessary too.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a web interface has been discussed previously but never got off the idea stage, if this is something you are interested in doing I will gladly review and recommend it in the wiki!

The database functionality is now accessed through HiveMind-database instead
@JarbasAl JarbasAl changed the title Simply RSA key fix launcher scripts / deprecate mail param / increase RSA key size Sep 15, 2021
@JarbasAl JarbasAl merged commit 3f13d4b into JarbasHiveMind:dev Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants