Commit Graph

4 Commits

Author SHA1 Message Date
Vincenzo Palazzo
4b3ff33576 commando: fixes requirements.txt for a plugin
In a clean machine a new user will endup with the following exception

```
Traceback (most recent call last):
  File "/home/lightning/.lightning/plugins/commando.py", line 22, in <module>
    from pyln.client import Plugin, RpcError  # type: ignore
ModuleNotFoundError: No module named 'pyln'
```

Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
2022-04-12 09:35:43 +02:00
Rusty Russell
692e117959 commando: add unique id as we hand our runes.
This allows us to blacklist them in future.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-09-08 10:11:58 +09:30
Rusty Russell
02d6bbbf36 requirements.txt: update to runes version which is correctly packaged.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-09-08 10:11:58 +09:30
Rusty Russell
ad27d4f624 commando: optionally use runes for authorization.
Now it requires the datastore (or datastore.py plugin), if you want
to use runes.  The simple reader/writer control lists don't require
that, but for simplicity we always require the runes Python module.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-09-08 10:11:58 +09:30