project:brmdoor:start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
project:brmdoor:start [2018/07/24 19:25] – Support for uploading status to VPS in SpaceAPI.net format, mapping publicly available on brmlab.cz abyssal | project:brmdoor:start [2020/08/05 18:45] – [Adding a new Desfire to JendaSAP and import to brmdoor] abyssal | ||
---|---|---|---|
Line 67: | Line 67: | ||
< | < | ||
- | cd brmdoor_libnfc/; | + | cd brmdoor_libnfc/; |
</ | </ | ||
Line 80: | Line 80: | ||
< | < | ||
git commit -m "Added card for member Ctulhu" | git commit -m "Added card for member Ctulhu" | ||
+ | </ | ||
+ | |||
+ | ===== Adding a new Desfire with authentication to JendaSAP and import to brmdoor ===== | ||
+ | |||
+ | This is similar to above, but has extra step in programming the Desfire. | ||
+ | |||
+ | <note important> | ||
+ | The Desfire needs to be programmed with correct signature first, otherwise brmdoor will reject it. | ||
+ | </ | ||
+ | |||
+ | Writing a signature on a Desfire card (can be done on raspi or using PN532 reader that is in the lab). You must know the private Ed25519 key matching the public key in brmdoor' | ||
+ | |||
+ | < | ||
+ | ./ | ||
+ | </ | ||
+ | |||
+ | Similar to above, but you add line " | ||
+ | |||
+ | < | ||
+ | desfire 04631982cc2280 | ||
+ | </ | ||
+ | |||
+ | The parse.py mentioned above will also create '' | ||
+ | |||
+ | < | ||
+ | cd brmdoor_libnfc/; | ||
</ | </ | ||
Line 129: | Line 155: | ||
of json is in under " | of json is in under " | ||
+ | Currently to be compatible with old URL (https:// | ||
+ | for the spaceAPI.net since we can't change it and can't submit new, there is alias | ||
+ | in ''/ | ||
+ | uploaded by brmdoor (it's over SFTP with internal-sftp chroot, ssh-key login, so that in case of compromise of brmdoor there | ||
+ | is not much the attacker could do with it (and password can't be bruteforced). | ||
===== PIN assignments ===== | ===== PIN assignments ===== | ||
Line 229: | Line 260: | ||
* Setting topic is not finished (python-irc has fairly bad API to retrieve topic) | * Setting topic is not finished (python-irc has fairly bad API to retrieve topic) | ||
+ | ===== Remote access from outside brmlab ===== | ||
+ | |||
+ | Add following to your ~/ | ||
+ | |||
+ | < | ||
+ | Host = brmbar-external | ||
+ | VerifyHostKeyDNS = no | ||
+ | Hostname = hrach.eu | ||
+ | Port = 22715 | ||
+ | User = brmlab | ||
+ | IdentityFile = ~/ | ||
+ | ForwardX11 = no | ||
+ | UsePrivilegedPort = no | ||
+ | Protocol 2 | ||
+ | |||
+ | Host = brmdoor-external | ||
+ | ProxyCommand = ssh brmbar-external nc -q1 %h 22 | ||
+ | Hostname = 192.168.77.247 | ||
+ | Port = 22715 | ||
+ | User = root | ||
+ | IdentityFile = ~/ | ||
+ | ForwardX11 = no | ||
+ | UsePrivilegedPort = no | ||
+ | Protocol 2 | ||
+ | |||
+ | </ | ||
+ | |||
+ | Then ssh brmdoor-external will get you brmdoor shell. | ||
project/brmdoor/start.txt · Last modified: 2023/09/17 20:35 by abyssal