Code Monkey home page Code Monkey logo

myvault's People

Contributors

yuki avatar

myvault's Issues

Improve the URL for secret navigation

Right now the url is like "https://myvault.example.com/#!/secret/foo", and it shows the secret. When showing the secret, there's a "hack" when clicking a link in the TOC ($('div.markdown-toc a').click(function(e)... ) to scroll down to its section.

It's working, but it doesn't change the URL/hash. It should be changed to something like "https://myvault.example.com/#!/secret/foo#section" in order to have "traceability".

This should be done in "hash_changed(event)"

Add Vault URL in login method

In order to don't have a variable hardcoded for the Vault URL, we need an input to use for all the Vault requests.

Improve navigation of the secrets

The tree can be a limitation. Because of the size of the tree, it can be counterproductive.

When searching, the tree expands and it's difficult to see what happens.

It's probably better not to show the tree, but maintain it in a hidden way... The navigation of the secrets should be done in a more "folder/file view", like in the computer file navigator

The references of this issue are: #42 and #43

Create a good CSS for printing

Right now the print option is functional, and when saving into PDF with chrome, all the links works great.

But it can be better... There should be a header, at least, in the first page with myVault "logo" (aka, the name and the lock). In the header, the option to have the URL of the secret?

A custom footer with the page number will be great.

Possible token lifetime/renewal cycle of life

Instead of having an X hours of lifetime, there's a new feature request in how to use the renewal of the token.

The idea is that the expiration of the token to be 15minutes, always, but renew it when there's activity. The renewal time should be for 10 minutes, and only if the there's activity in the last 10 minutes.

If there's no activity, there should be an alert message when the TTL is less than 5 minutes...

This could be an alternative to #39, #40 and #41... And should take care of #36 and #18...

Add option to know if a secret is being editing

Because there is no way to know if a secret is being editing, we must create something to control this.

The idea is to “lock” the secret when someone wants to edit it. When someone clicks on “edit” button, we will lock the secret. To lock it, the best way to do it is to have a “locked_secrets” path or a secret where will be saved the secret that are locked.

If a secret is locked, the edit button Wii be disabled and there should be a message saying that the secret is locked by someone.

To unlock the secret, the person that is editing it, must unlock it. How? A button? That when it’s clicked, it closes the editor page... it could works.

Make a new modal to log in

Because of the new ideas, instead of making a redirect to /login.html , there should be a new modal where the user can log ing in the web.

This should appear if the user is not logged and it's making an action.

login.html could be dissapear if this is well done

Try to make all the web in ajax-mode

There was a previous version of the web that was all in ajax, but after put the editor, there were some problems. So I put the "/?path=/.." variable in the URL. Try to make the web in more ajax way.

show historic log from a secret

When a secret is updated, a backup is created (as #3 shows). There should be an option to go/see a previous version of the secret.

Extra feature, add a diff tool to check differences between them 😄

Auto save

Create an "auto save" feature when a secret is editing.

It must have a option in preferences to enable/disable auto save.

Revoke the token when logout

After the user clicks in "logout" or a "automatic logout" is made, the token must be revoked. It's more secure.

Activate "intro" when creating a secret

When we want to create a secret, usually "intro" is used to perform the action to create, as es form... but it isn't... Allow to create the secret when "intro" is pulsed

Add a button to unlock a secret

There could happened that a secret may stay locked (a user reloads the web before unlocks the secret, for example). Because of that, there should be a button to unlock the secret. It's related to #19

Improve the saved variables

Right now, all the variables are saved separately.

Should it be improved? Create a uniq variable in a json?

Add button to renew the token TTL

There are some users that want to renew the token. Vault allow this with the "default" policy.

My idea was to block this feature, but hey, who am I to block the user's desires?

But I think that it's better to limit this in some way... Maybe add this feature only for users with "admin" policy, or to everybody but the button only will appear when the TTL is less than 15 minutes.

Clear tree and the secret when logout

When the user logouts (or in automatic logout) the login modal appears and the bacground blurs.

The secret still there, and it could be seen hiding the modal with browser's developer tools.

So, before login out action, empty the secret and the tree.

Change get_capabilities function

In my stupidity, I have been using "/sys/capabilities" and adding into policies:

path "/sys/capabilities" {
 capabilities = ["update"]
}

when there's a path in the default policy for that, in /sys/capabilities-self.

Change this path, but the most importante thing is to change the documentation in VAULT_config.md

Improve the README

Improve the README.md with all the latest changes. Maybe create a file "VAULT_CONFIG.md" to show how Vault must be config to use myVault (also add examples for policies and LDAP config).

Improve timers

Improve the timers. Maybe create a uniq function to rule them all?

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.