diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..5288987 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2019 flifloo + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..4e6b59a --- /dev/null +++ b/README.md @@ -0,0 +1,16 @@ +

Secure Socket Service

+A simple but useful socket service I will use and update in the course of my projects + +

What is the secure ?

+The connexion between two sockets is by default encrypted, a encryption key is pass from the server to the client with a pair of private and a public key +Also the server and the client check her "service id" to make sure it's the same app (yes it's easy to hack but it's a security, maybe upgrade later) + +

How to use it ?

+Look at the [wiki](https://github.com/flifloo/SecureSocketService/wiki) ;3 + +

License

+This project is on the [MIT license](https://github.com/flifloo/SecureSocketService/blob/master/LICENSE) + +

Projects that use the SSS

+* [Morpion](https://github.com/flifloo/Morpion) +* More soon ! \ No newline at end of file diff --git a/Socket.py b/SecureSocketService/__init__.py similarity index 100% rename from Socket.py rename to SecureSocketService/__init__.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..98b0cfc --- /dev/null +++ b/setup.py @@ -0,0 +1,27 @@ +from setuptools import setup, find_packages + + +def readme(): + with open('README.md') as f: + return f.read() + + +setup(name="SecureSocketService", + version="1.0.0", + description="A socket service with secure connexion", + long_description=readme(), + classifiers=[ + 'Development Status :: 3 - Alpha', + 'License :: OSI Approved :: MIT License', + 'Programming Language :: Python :: 3.7', + 'Topic :: System :: Networking', + ], + url="https://github.com/flifloo/SecureSocketService", + author="flifloo", + author_email="flifloo@gmail.com", + license="MIT", + packages=find_packages(), + install_requires=[ + 'cryptography', + ], + zip_safe=False)