-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move code to pinecrypt.client Python package
- Loading branch information
1 parent
4eb2c17
commit 447aa70
Showing
8 changed files
with
75 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
FROM ubuntu:20.04 as build | ||
ENV PYTHONUNBUFFERED=1 | ||
ENV LC_ALL C.UTF-8 | ||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
# Make apt faster | ||
RUN echo force-unsafe-io > /etc/dpkg/dpkg.cfg.d/docker-apt-speedup | ||
RUN echo "Dpkg::Use-Pty=0;" > /etc/apt/apt.conf.d/99quieter | ||
|
||
RUN apt-get update -qq | ||
RUN apt-get install -y -qq \ | ||
python3-pip | ||
|
||
COPY pinecrypt/client/. /src/pinecrypt/client | ||
COPY setup.py /src/ | ||
COPY README.md /src/ | ||
COPY misc/ /src/misc/ | ||
WORKDIR /src | ||
RUN pip3 install . | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Background | ||
|
||
Certidude is the VPN connectivity client for Pinecrypt Gateway |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/usr/bin/env python | ||
|
||
from pinecrypt.client.cli import entry_point | ||
|
||
if __name__ == "__main__": | ||
entry_point() |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#!/usr/bin/env python3 | ||
# coding: utf-8 | ||
import os | ||
from setuptools import setup | ||
|
||
setup( | ||
name = "certidude", | ||
version = "0.2.1", | ||
author = u"Pinecrypt Labs", | ||
author_email = "[email protected]", | ||
description = "Certidude provisions VPN connections to Pinecrypt Gateway", | ||
license = "MIT", | ||
keywords = "falcon http jinja2 x509 pkcs11 webcrypto kerberos ldap", | ||
url = "https://git.k-space.ee/pinecrypt/certidude", | ||
packages=[ | ||
"pinecrypt.client", | ||
], | ||
long_description=open("README.md").read(), | ||
install_requires=[ | ||
"asn1crypto", | ||
"certbuilder", | ||
"click", | ||
"csrbuilder", | ||
"ipsecparse", | ||
"requests", | ||
], | ||
scripts=[ | ||
"misc/certidude" | ||
], | ||
classifiers=[ | ||
"Development Status :: 4 - Beta", | ||
"Environment :: Console", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: System Administrators", | ||
"License :: Freely Distributable", | ||
"License :: OSI Approved :: MIT License", | ||
"Natural Language :: English", | ||
"Operating System :: POSIX :: Linux", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3 :: Only", | ||
], | ||
) | ||
|