Show encryption keys (only IDs) in the listing

This commit is contained in:
Vitaliy Filippov
2026-04-27 15:24:44 +03:00
parent 8225b37f53
commit e8abe99205
7 changed files with 53 additions and 81 deletions
+1
View File
@@ -109,6 +109,7 @@ std::shared_ptr<inode_cache_t> cluster_client_t::inode_cache_get(inode_t ino)
icache->readonly = inode_cfg.readonly;
icache->chain.push_back(ino);
std::vector<inode_config_t*> chain_cfg;
// FIXME: Allow unencrypted read & write when all chain is encrypted with the same key
int enc_key_count = !inode_cfg.enc_key.empty() ? 1 : 0;
if (inode_cfg.parent_id)
{