Git Product home page Git Product logo

siptrackweb's People

Contributors

sii avatar stemid avatar trappiz avatar vipinlalcm avatar

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

siptrackweb's Issues

Change password of password keys

Only administrators should be able to connect password keys.

Modified to instead focus on changing passwords on password keys.

Password categories need the same attribute editing options as Device categories

I need to be able to edit attributes on password categories, same way I can edit them on device categories.

This is part of an effort to make siptrack replace Keepass. Keepass has a lot of meta info that Siptrack has no place for, but attributes could be used for some of that meta data.

For example if you have different customers under their own password category, you can have info about that customer as attributes in their password category.

Searching attributes

An advanced search function for attributes, so we can construct links like /search/?attribute=customername&value=FooBarInc to list any object with that attribute value.

Updating password key on passwords with encrypted attributes causes error

This was reported to me from a co-worker who managed to trigger it in our internal Siptrack, so I have yet to test it fully but I'm pretty sure of the following.

When I implemented encrypted attributes I did not consider that there is a feature to change the password key of a password.

So most likely that feature is only updating the encrypted password and not the encrypted attributes of that password.

So when the update is made that node in Siptrack will crash with an exception that it cannot decode the encrypted attribute content.

For now, don't change password key on passwords with encrypted attributes.

I've been forced to delete the encrypted attribute directly from the DB to get rid of the error because getOID can't even fetch the object to run delete() on.

Better explanation of how connecting keys to other users work

At least 3 times now I've had users with the same issue. They're trying to connect a password key for another user. Which is common because you might not want to give out a password key password to other users just to connect it for them.

So they do this from the account Alice, connect the key to account Bob.

But since Alice does not have Bob's user password Alice can never complete the connection. All Alice can do is place a pending subkey in Bob's account. This is a siptrack specific feature.

So next time Bob logs in to Siptrack Bob gives his user password and with that user password is able to connect all the pending subkeys to his account.

The alternative is to have Bob give Alice his password. Or for Alice to give Bob the password for the password key she's trying to connect.

This needs to be made clear in the web gui because people are clearly not understanding the part with the pending subkeys.

Cannot connect password key to user as admin

A common issue I've run into is that administrators cannot connect password keys to users.

It only works once the user logs in and connects it themselves. This is not a good solution as it requires handing out the password key password to the user. Or logging in as that user.

Will need to troubleshoot this when time is given.

After upgrade all non admins permission denied

Hello!

We have been running a quite old siptrack installation. We are now trying to upgrade in an isolated test environment, upgrade seems to work fine however non admins when they access the webinterface and have signed in successfully get greeted by the message:

Permission Denied
Action not permitted.

Attaching a screenshot.
image

They cant view anything but their user profile.

Users with admin role does not have this problem. Is there some place to set permissions on the view in siptrack?

Any help is much appreciated

Deleted password keys cause user profile page to crash

Delete a password key that is still connected to a user and that users profile page will crash with an exception.

This is due to improper error handling, relatively easy to fix once I get the time.

A workaround is to delete the offending subkey through the API.

In [1]: myuser = st.getOID('1234')                    
In [4]: for subkey in myuser.listChildren(include=['sub key']):
   ...:     try:
   ...:         pw_key = subkey.password_key
   ...:     except:
   ...:         print('Deleting subkey {oid}'.format(oid=subkey.oid))
   ...:         subkey.delete()
   ...:     pp(pw_key)

Advanced search unable to search attributes with spaces in name

Attributes named with spaces cannot be searched with the advanced search box.

I've already fixed and tested this and will commit soon, this issue is just for referencing in the commit.

The problem was simply that I didn't take into account that whoosh replaces spaces with underlines and makes all characters lower case when indexing.

Two factor authentication

Need to implement some sort of 2FA, perhaps using django-otp that I've already tested but not fully finished.

Must disconnect user subkey before deleting subkey

Deleting a password key while it's connected to any user will make siptrackweb unable to display that users page.

  1. Create password key.
  2. Connect password key to user.
  3. Delete password key.
  4. Display user page.

Expected results: User info page.
Actual results: Exception error page.

Workaround, disassociate the password key from the user through the API.

Ability to link password categories and passwords to devices

It's already possible to associate devices with password categories or passwords using the Siptrack client API.

But it should also be possible to do using the web GUI.

Here is how it's done in the API using this repl script.

device1 = st.getOID('1771701')
category1 = st.getOID('1785430')
device1.associate(category1)

get `NameError: name 'patterns' is not defined` when following install instructions on centos7

While following https://github.com/sii/siptrackweb/wiki/Install-personal-dev-environment I ran into NameError: name 'patterns' is not defined when running python manage.py migrate. According to stackoverflow this can be fixed by replacing

from django.conf.urls import url, include

with

from django.conf.urls import url, include, patterns

which got me past that issue, but then I see

/var/venv/siptrack/lib/python2.7/site-packages/siptrackweb/urls.py:253: RemovedInDjango110Warning: django.conf.urls.patterns() is deprecated and will be removed in Django 1.10. Update your urlpatterns to be a list of django.conf.urls.url() instances instead.
  (r'^prototype.js$', 'root.prototypejs'),

Should the instructions be updated to avoid this deprecation?

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.