`jhack fire` support for secret events

Always dreamed of jhack fireing secret events? Well now you can!

Similarly to how jhack fire *-pebble-custom-notice works, I recently added to jhack fire a way to execute a charm with any secret event.

You can now pass a --secret argument to jhack fire giving it either a secret ID or a secret label that the target unit/app knows about.

If you don’t, you will be prompted to select a secret among the existing ones.

The result: image

Charm executes with the expected context!

Happy hacking :safety_vest:

2 Likes