Skip to content

Commit

Permalink
Added "PEM pass phrase" prompt instructions & bumped patch version. F…
Browse files Browse the repository at this point in the history
…ixes snstac#54
  • Loading branch information
ampledata committed Dec 4, 2023
1 parent 3caadd9 commit 26e88f7
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
PyTAK 6.2.1
-----------
- Add 'PEM pass phrase' prompt instructions. Fixes #54.


PyTAK 6.2.0
-----------
- Fixes #12: Encrypted TLS Private Keys (Private Keys with Passphrases).
Expand Down
16 changes: 14 additions & 2 deletions docs/troubleshooting.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,25 @@

# Common Problems

## My CoT Events are showing up in iTAK, WinTAK, ATAK
## My CoT Events are NOT showing up in TAK

1. Try setting your `COT_URL` to stdout: `COT_URL=log://stdout` - This will print the CoT events to your console or log. Use this to verify your PyTAK-derived tool is actually spitting out CoT Events.
2. Try settting your `COT_URL` to the IP of your EUD (ATAK, iTAK, WinTAK): `COT_URL=tcp://my-phone-ip-address:4242`.
3. If using Mesh SA, ensure your network supports Multicast.

# Windows

## `PEM pass phrase:` Prompt

The `PEM pass phrase:` prompt can be the result of using a private-key encrypted (password-protected) **PYTAK_TLS_CLIENT_KEY** file. This is the default behavior of TAK Server's `makeCert.sh` tool. TAK Server's default password is defined in `CoreConfig.xml`.

Depending on the security requirements in your operating environment, there are three possible procedures to choose from to resolve this prompt:

1. Set the encryption password with the **PYTAK_TLS_CLIENT_PASSWORD** configuration parameter. For example: **PYTAK_TLS_CLIENT_PASSWORD=abc123**
2. Remove the PEM pass phrase: `openssl rsa -in pytak.key -out pytak.nopass.key`
2. Accept this as the way of life and enter a pass phrase every time you restart this software.


# Windows Problems

Set DEBUG env var in PowerShell:

Expand Down
2 changes: 1 addition & 1 deletion pytak/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
:source: <https://github.com/snstac/pytak>
"""

__version__ = "6.2.0"
__version__ = "6.2.1"


from .constants import ( # NOQA
Expand Down

0 comments on commit 26e88f7

Please sign in to comment.