sah4ez / pspk

Public storage public keys
https://sah4ez.github.io/pspk/
MIT License
5 stars 5 forks source link

Update and Delete Public Keys #44

Open l-vitaly opened 4 years ago

l-vitaly commented 4 years ago

Is your feature request related to a problem? Please describe.

Will the ability to delete and update keys be added?

sah4ez commented 4 years ago

Hi, @l-vitaly good idea fro adding methods delete and update keys, but with open API of pspk I can't provide this operation on public part of key. Because public part of key must use immutable data approach. So, IMHO the best solution for this request will generate new version the same key, may be use this format <key_name>.vXXX. And need add two methods: revoke key (i.e. delete) and increase version (i.e. update). But, I can't implement this method without authentication and authorization.