PyMISP icon indicating copy to clipboard operation
PyMISP copied to clipboard

Advanced authkeys tests

Open iglocska opened this issue 4 years ago • 2 comments

  • By default MISP now installs with advanced auth keys
  • Retrieving of keys is no longer possible from user objects -- temporarily removed the test for the authkey being correct

For future improvements:

  • restore the authkey test -- for advanced authkeys we can still check the list of assoiated authkeys and compare the first/last 4 characters which are stored in the clear
  • build a new test for the creation of new API keys

iglocska avatar Jul 26 '21 14:07 iglocska

Is there some documentation on how to use the new controller via the API? I'm not sure where to look for that.

Rafiot avatar Aug 05 '21 15:08 Rafiot

Similar to the option of creating a user through command like "Console/cake" it should be possible to create a key with required settings.

An example is if you build a new installation and want to automate the configuration it is currently not possible to generate a valid authkey without having to go through the UI.

I could be wrong in my assumptions :)

eCrimeLabs avatar Oct 26 '21 18:10 eCrimeLabs