This commit is contained in:
2025-12-15 13:20:58 +01:00
parent 7e02e20878
commit b064038c2d
9 changed files with 27 additions and 10 deletions

View File

@@ -68,6 +68,7 @@ size_t read(Vault &vault, uint32_t id, void *buf, size_t len) {
size_t read_cnt = 0;
while(read_cnt <= len){
Key key;
vault.keys_sem.p(vault);
vault.keys.consume(key);
if(key.valid())
((char*)buf)[read_cnt++] = key.ascii();