Code Monkey home page Code Monkey logo

atak-certs's Issues

Create REAL user certificates

Currently FTS does not validate the cert used by ATAK as the user cert is actually a user cert, it will take another signed server cert. but the user cert option should create the necessary extensions to denote a user certificate.

Creating flags to directly import certificates to FTS folder.

One "nice to have" would be a flag where the script automatically copies the certs to the FTS {userpath}{python_version}/dist-packages/FreeTAKServer/Certs/, with filenames identical to the ones indicated on tsame configuration file... pubserver.key, pubserver.pem, pubserver.key.unencrypted and ca.pem. So end-users won't have to dabble much on the MainConfig.py that much.

Yes, the script will run as root.

Requires requests package

Following along the instructions, I found requests is required. Might just want to put that in Step 2

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 23135  100 23135    0     0  72751      0 --:--:-- --:--:-- --:--:-- 72751
Traceback (most recent call last):
  File "<stdin>", line 26, in <module>
ModuleNotFoundError: No module named 'requests'

Interactive mode fails

Running on CentOS 7, default Python 3.6.8. Understandable if you don't want to support a version that old, but might be useful to state what the min version supported is

[root@localhost tak]$ curl -L https://git.io/JL9DP | sudo python3 -
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 23135  100 23135    0     0  80891      0 --:--:-- --:--:-- --:--:-- 80891
Cannot find CA locally so generating one
CA key Stored Here: ./ca.key
CA pem Stored Here: ./ca.pem
Would you like to generate a server certificate? y/n Traceback (most recent call last):
  File "<stdin>", line 484, in <module>
EOFError: EOF when reading a line

Headless Mode

Add the ability to run with --headless flag to create a default set of certs for the server

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.