mirror of
https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git
synced 2025-08-14 00:25:46 +02:00
Initial commit
This commit is contained in:
1
venv/Lib/site-packages/rsa-4.9.dist-info/INSTALLER
Normal file
1
venv/Lib/site-packages/rsa-4.9.dist-info/INSTALLER
Normal file
@@ -0,0 +1 @@
|
||||
pip
|
13
venv/Lib/site-packages/rsa-4.9.dist-info/LICENSE
Normal file
13
venv/Lib/site-packages/rsa-4.9.dist-info/LICENSE
Normal file
@@ -0,0 +1,13 @@
|
||||
Copyright 2011 Sybren A. Stüvel <sybren@stuvel.eu>
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
https://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
106
venv/Lib/site-packages/rsa-4.9.dist-info/METADATA
Normal file
106
venv/Lib/site-packages/rsa-4.9.dist-info/METADATA
Normal file
@@ -0,0 +1,106 @@
|
||||
Metadata-Version: 2.1
|
||||
Name: rsa
|
||||
Version: 4.9
|
||||
Summary: Pure-Python RSA implementation
|
||||
Home-page: https://stuvel.eu/rsa
|
||||
License: Apache-2.0
|
||||
Author: Sybren A. Stüvel
|
||||
Author-email: sybren@stuvel.eu
|
||||
Requires-Python: >=3.6,<4
|
||||
Classifier: Development Status :: 5 - Production/Stable
|
||||
Classifier: Intended Audience :: Developers
|
||||
Classifier: Intended Audience :: Education
|
||||
Classifier: Intended Audience :: Information Technology
|
||||
Classifier: License :: OSI Approved :: Apache Software License
|
||||
Classifier: Operating System :: OS Independent
|
||||
Classifier: Programming Language :: Python
|
||||
Classifier: Programming Language :: Python :: 3
|
||||
Classifier: Programming Language :: Python :: 3.10
|
||||
Classifier: Programming Language :: Python :: 3.6
|
||||
Classifier: Programming Language :: Python :: 3.7
|
||||
Classifier: Programming Language :: Python :: 3.8
|
||||
Classifier: Programming Language :: Python :: 3.9
|
||||
Classifier: Programming Language :: Python :: Implementation :: CPython
|
||||
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
||||
Classifier: Topic :: Security :: Cryptography
|
||||
Requires-Dist: pyasn1 (>=0.1.3)
|
||||
Project-URL: Repository, https://github.com/sybrenstuvel/python-rsa
|
||||
Description-Content-Type: text/markdown
|
||||
|
||||
# Pure Python RSA implementation
|
||||
|
||||
[](https://pypi.org/project/rsa/)
|
||||
[](https://travis-ci.org/sybrenstuvel/python-rsa)
|
||||
[](https://coveralls.io/github/sybrenstuvel/python-rsa?branch=master)
|
||||
[](https://codeclimate.com/github/codeclimate/codeclimate/maintainability)
|
||||
|
||||
[Python-RSA](https://stuvel.eu/rsa) is a pure-Python RSA implementation. It supports
|
||||
encryption and decryption, signing and verifying signatures, and key
|
||||
generation according to PKCS#1 version 1.5. It can be used as a Python
|
||||
library as well as on the commandline. The code was mostly written by
|
||||
Sybren A. Stüvel.
|
||||
|
||||
Documentation can be found at the [Python-RSA homepage](https://stuvel.eu/rsa). For all changes, check [the changelog](https://github.com/sybrenstuvel/python-rsa/blob/master/CHANGELOG.md).
|
||||
|
||||
Download and install using:
|
||||
|
||||
pip install rsa
|
||||
|
||||
or download it from the [Python Package Index](https://pypi.org/project/rsa/).
|
||||
|
||||
The source code is maintained at [GitHub](https://github.com/sybrenstuvel/python-rsa/) and is
|
||||
licensed under the [Apache License, version 2.0](https://www.apache.org/licenses/LICENSE-2.0)
|
||||
|
||||
## Security
|
||||
|
||||
Because of how Python internally stores numbers, it is very hard (if not impossible) to make a pure-Python program secure against timing attacks. This library is no exception, so use it with care. See https://securitypitfalls.wordpress.com/2018/08/03/constant-time-compare-in-python/ for more info.
|
||||
|
||||
## Setup of Development Environment
|
||||
|
||||
```
|
||||
python3 -m venv .venv
|
||||
. ./.venv/bin/activate
|
||||
pip install poetry
|
||||
poetry install
|
||||
```
|
||||
|
||||
## Publishing a New Release
|
||||
|
||||
Since this project is considered critical on the Python Package Index,
|
||||
two-factor authentication is required. For uploading packages to PyPi, an API
|
||||
key is required; username+password will not work.
|
||||
|
||||
First, generate an API token at https://pypi.org/manage/account/token/. Then,
|
||||
use this token when publishing instead of your username and password.
|
||||
|
||||
As username, use `__token__`.
|
||||
As password, use the token itself, including the `pypi-` prefix.
|
||||
|
||||
See https://pypi.org/help/#apitoken for help using API tokens to publish. This
|
||||
is what I have in `~/.pypirc`:
|
||||
|
||||
```
|
||||
[distutils]
|
||||
index-servers =
|
||||
rsa
|
||||
|
||||
# Use `twine upload -r rsa` to upload with this token.
|
||||
[rsa]
|
||||
repository = https://upload.pypi.org/legacy/
|
||||
username = __token__
|
||||
password = pypi-token
|
||||
```
|
||||
|
||||
```
|
||||
. ./.venv/bin/activate
|
||||
pip install twine
|
||||
|
||||
poetry build
|
||||
twine check dist/rsa-4.9.tar.gz dist/rsa-4.9-*.whl
|
||||
twine upload -r rsa dist/rsa-4.9.tar.gz dist/rsa-4.9-*.whl
|
||||
```
|
||||
|
||||
The `pip install twine` is necessary as Python-RSA requires Python >= 3.6, and
|
||||
Twine requires at least version 3.7. This means Poetry refuses to add it as
|
||||
dependency.
|
||||
|
41
venv/Lib/site-packages/rsa-4.9.dist-info/RECORD
Normal file
41
venv/Lib/site-packages/rsa-4.9.dist-info/RECORD
Normal file
@@ -0,0 +1,41 @@
|
||||
../../Scripts/pyrsa-decrypt.exe,sha256=sqYz4BNvrns58u1xFftE5K-xNwd7ZixdYwdjRP7qFJA,108413
|
||||
../../Scripts/pyrsa-encrypt.exe,sha256=fSZ8lnWf6Fis8IZMAud_rsXGCiNhLzdSIMO-qjyakIM,108413
|
||||
../../Scripts/pyrsa-keygen.exe,sha256=yH4VUqvHY4xV42ALRbixu44rxKBu2uYEgyTmexqrq_A,108411
|
||||
../../Scripts/pyrsa-priv2pub.exe,sha256=Xc20ILyb12JYlXAZSm2fN8C3_pNVDki1NhblZ4d6Kac,108434
|
||||
../../Scripts/pyrsa-sign.exe,sha256=j7Sn-CNbN93mPnqCUeXd3GflO8J7dm4iczhzerB9R2w,108407
|
||||
../../Scripts/pyrsa-verify.exe,sha256=2LAP8queD6C5QAiaI1yQBmCnserzWCqxWo2_XNxI2IM,108411
|
||||
rsa-4.9.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
||||
rsa-4.9.dist-info/LICENSE,sha256=Bz8ot9OJyP509gfhfCf4HqpazmntxDqITyP0G0HFxyY,577
|
||||
rsa-4.9.dist-info/METADATA,sha256=-540qZBdoxQdUSuhxWlXTnY-oMNVz3EML49u9IfmmQ4,4173
|
||||
rsa-4.9.dist-info/RECORD,,
|
||||
rsa-4.9.dist-info/WHEEL,sha256=y3eDiaFVSNTPbgzfNn0nYn5tEn1cX6WrdetDlQM4xWw,83
|
||||
rsa-4.9.dist-info/entry_points.txt,sha256=p0nVsezmPSjm5x4GDMD4a9Sshc9ukdfw1kkmOmpaAu0,201
|
||||
rsa/__init__.py,sha256=5bc5rkBB8vxWEtVYwoMQxM8df3O1Ak2_zEXqnkK9oes,1605
|
||||
rsa/__pycache__/__init__.cpython-311.pyc,,
|
||||
rsa/__pycache__/asn1.cpython-311.pyc,,
|
||||
rsa/__pycache__/cli.cpython-311.pyc,,
|
||||
rsa/__pycache__/common.cpython-311.pyc,,
|
||||
rsa/__pycache__/core.cpython-311.pyc,,
|
||||
rsa/__pycache__/key.cpython-311.pyc,,
|
||||
rsa/__pycache__/parallel.cpython-311.pyc,,
|
||||
rsa/__pycache__/pem.cpython-311.pyc,,
|
||||
rsa/__pycache__/pkcs1.cpython-311.pyc,,
|
||||
rsa/__pycache__/pkcs1_v2.cpython-311.pyc,,
|
||||
rsa/__pycache__/prime.cpython-311.pyc,,
|
||||
rsa/__pycache__/randnum.cpython-311.pyc,,
|
||||
rsa/__pycache__/transform.cpython-311.pyc,,
|
||||
rsa/__pycache__/util.cpython-311.pyc,,
|
||||
rsa/asn1.py,sha256=WL2bhDg-q7riT8P8cBMpydsh020i6Ejl6vcQIuA0VXA,1792
|
||||
rsa/cli.py,sha256=DOE66cB0-0SjUhs-PX2gbxiSma5-CT1lEAdcCYrTXwE,10183
|
||||
rsa/common.py,sha256=DAWwAuOSv1X67CBHzBvH-1wOsRe9np6eVsL_ZLrBWcg,4863
|
||||
rsa/core.py,sha256=Rf33atg4-pI7U-mTdoosmn8gTeTyX5xP7yv0iqWyogc,1714
|
||||
rsa/key.py,sha256=3_xv7B-AZZ5jIIz-vpnpfJtStS415e8fNr2iTYOu5CM,28285
|
||||
rsa/parallel.py,sha256=NcL1QjNWJxH9zL2OAOYKgr-HbAeEEmdckdxC6KMhkmM,2405
|
||||
rsa/pem.py,sha256=lzFulzgLHyqhimeo3T4GeBXuGRClfkTMYYZbgmYYmQk,4123
|
||||
rsa/pkcs1.py,sha256=wN9SWn1_zFJvHDNLGPeGZxoDA5T7ipVy9DntNcCYBpU,16690
|
||||
rsa/pkcs1_v2.py,sha256=d5A27EcOgbgJeikuLZkzANOzBQh4nVX-Bom5DUXgXHw,3549
|
||||
rsa/prime.py,sha256=Kij81g-VneGw20Cq6LRaCVT3b9tX4gWIzkWV-3h4qMg,5304
|
||||
rsa/py.typed,sha256=TfYjsEjlfDcVNGFibSYzbCf81u37bSXWmv4oTYf0zY8,64
|
||||
rsa/randnum.py,sha256=AwhXEZAT6spbUUPjhwQXGXKOTlG8FPHOI3gmTAcQ0pk,2752
|
||||
rsa/transform.py,sha256=i-nVC7JcPZkYz1W-d-qg0n0PQS17kKeXhfd9IkDehj4,2272
|
||||
rsa/util.py,sha256=9PuWg2jQfV8FHdE9hpGHDCi2iGM8Z-r4tIQXRVFmqYY,3090
|
4
venv/Lib/site-packages/rsa-4.9.dist-info/WHEEL
Normal file
4
venv/Lib/site-packages/rsa-4.9.dist-info/WHEEL
Normal file
@@ -0,0 +1,4 @@
|
||||
Wheel-Version: 1.0
|
||||
Generator: poetry 1.0.7
|
||||
Root-Is-Purelib: true
|
||||
Tag: py3-none-any
|
@@ -0,0 +1,8 @@
|
||||
[console_scripts]
|
||||
pyrsa-decrypt=rsa.cli:decrypt
|
||||
pyrsa-encrypt=rsa.cli:encrypt
|
||||
pyrsa-keygen=rsa.cli:keygen
|
||||
pyrsa-priv2pub=rsa.util:private_to_public
|
||||
pyrsa-sign=rsa.cli:sign
|
||||
pyrsa-verify=rsa.cli:verify
|
||||
|
Reference in New Issue
Block a user