Coder Social home page Coder Social logo

inrcot's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

inrcot's Issues

TypeError: BasicAuth() tuple is required instead

Mar 10 01:14:33 cotgateway inrcot[436065]: 2023-03-10 01:14:33,460 pytak ERROR pytak.classes.get_inreach_feeds:74 - BasicAuth() tuple is required instead
Mar 10 01:14:33 cotgateway inrcot[436065]: Traceback (most recent call last):
Mar 10 01:14:33 cotgateway inrcot[436065]:   File “/usr/lib/python3/dist-packages/inrcot/classes.py”, line 69, in get_inreach_feeds
Mar 10 01:14:33 cotgateway inrcot[436065]:     response = await session.request(
Mar 10 01:14:33 cotgateway inrcot[436065]:   File “/usr/lib/python3/dist-packages/aiohttp/client.py”, line 464, in _request
Mar 10 01:14:33 cotgateway inrcot[436065]:     req = self._request_class(
Mar 10 01:14:33 cotgateway inrcot[436065]:   File “/usr/lib/python3/dist-packages/aiohttp/client_reqrep.py”, line 290, in __init__
Mar 10 01:14:33 cotgateway inrcot[436065]:     self.update_auth(auth)
Mar 10 01:14:33 cotgateway inrcot[436065]:   File “/usr/lib/python3/dist-packages/aiohttp/client_reqrep.py”, line 468, in update_auth
Mar 10 01:14:33 cotgateway inrcot[436065]:     raise TypeError(‘BasicAuth() tuple is required instead’)
Mar 10 01:14:33 cotgateway inrcot[436065]: TypeError: BasicAuth() tuple is required instead```

Set a custom icon for an InReach

Add the ability to set a custom icon for a specific InReach device. The icon setting should support specifying an icon from a usericon/custom icon datapackage, i.e. ABC123-123/icon.png, where ABC123-123 is the UUID of the custom icon/usericon Data Package.

AttributeError: 'NoneType' object has no attribute 'run_until_complete'

https://github.com/ampledata/inrcot/blob/441260880b5563986327d3d4fc002db5c7941784/inrcot/commands.py#L75

[tak@localhost ~]$ inrcot -c /home/tak/inrcot/config.ini
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/inrcot-1.0.3-py3.6.egg/inrcot/commands.py", line 77, in cli
    loop.run_until_complete(main(config))
AttributeError: 'NoneType' object has no attribute 'run_until_complete'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/local/bin/inrcot", line 11, in <module>
    load_entry_point('inrcot==1.0.3', 'console_scripts', 'inrcot')()
  File "/usr/local/lib/python3.6/site-packages/inrcot-1.0.3-py3.6.egg/inrcot/commands.py", line 79, in cli
    loop.close()
AttributeError: 'NoneType' object has no attribute 'close'

Malformed COT

image

Feed is read and sent toward WinTAK-civ v4.7.0.163. A malformed COT error is emitted and nothing is displayed.

Expecting any private key

Steps to reproduce

  • Make a client for INRCOT, named clientA.
  • You will have files clientA.csr/jks/key/p12/pem/trusted.pem
  • Run: openssl rsa -in inreach.pem -out inreach_clear.pem

Expected result

You should get a decrypted private key.

Actual result

I don't get a prompt for the passphrase, and the command fails, saying its expecting any private key.

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.