MOX OTP issueshttps://gitlab.nic.cz/turris/mox-otp/-/issues2019-02-28T11:25:42+01:00https://gitlab.nic.cz/turris/mox-otp/-/issues/2Create python package2019-02-28T11:25:42+01:00Vojtech MyslivecCreate python packageCreate regular python package with `setup.py` and use more advanced python tweaks such as *decorators* and *exception* handling.Create regular python package with `setup.py` and use more advanced python tweaks such as *decorators* and *exception* handling.Turris OS 4.0https://gitlab.nic.cz/turris/mox-otp/-/issues/1Implement MOX OTP CLI2019-02-12T03:34:25+01:00Vojtech MyslivecImplement MOX OTP CLIInitial feature set such as
- Serial number
- Signing
- ...Initial feature set such as
- Serial number
- Signing
- ...Turris OS 4.0https://gitlab.nic.cz/turris/mox-otp/-/issues/3Current HBL branch misses sysfs path2022-08-18T19:41:01+02:00Filip HronCurrent HBL branch misses sysfs pathRouter unable to generate password (``/etc/sentinel/mailpass``) on version ``5.15.59`` due to error in ``mox-otp``
```
sentinel-certgen mailpass
sysfs API error: Could not find MOX sign file
crypto-wrapper: error: Failed to run command ...Router unable to generate password (``/etc/sentinel/mailpass``) on version ``5.15.59`` due to error in ``mox-otp``
```
sentinel-certgen mailpass
sysfs API error: Could not find MOX sign file
crypto-wrapper: error: Failed to run command 'mox-otp sign /tmp/crypto_wrapper_root/temp_fciNlC'
[2022-08-10 14:35:14] ERROR [certgen.process_auth:250] Auth error: Server responded with message: Bad signature format:
[2022-08-10 14:35:14] WARNING [certgen.start:335] Sleeping for 12 seconds before retry (try number 2)
sysfs API error: Could not find MOX sign file
crypto-wrapper: error: Failed to run command 'mox-otp sign /tmp/crypto_wrapper_root/temp_EekBHb'
[2022-08-10 14:35:27] ERROR [certgen.process_auth:250] Auth error: Server responded with message: Bad signature format:
[2022-08-10 14:35:27] WARNING [certgen.start:335] Sleeping for 12 seconds before retry (try number 3)
[2022-08-10 14:35:39] ERROR [certgen.process_get:204] Get fail: Server responded with message: You hit the rate limit
[2022-08-10 14:35:39] ERROR [certgen.start:330] Max tries (3) have been reached, exiting
```
However, the ``mox-otp`` is merely pointing to missing path in ``sysfs``
```
foot@turris:/ uname -a
Linux turris 5.15.59 #0 SMP Tue Aug 9 23:38:13 2022 aarch64 GNU/Linux
root@turris:/sys/firmware/turris-mox-rwtm# [ -f /sys/firmware/turris-mox-rwtm/mox_do_sign ] ; echo $?
1
```
Found by @jhoracek
cheersTurris OS 6.0