lib3mf 2.5 :

- aggiornamento versione
- utilizzate le nostre librerie esterne libzip e zlib e non quelle incluse in lib3mf.
This commit is contained in:
SaraP
2026-08-25 12:44:11 +02:00
parent ea6efc1e36
commit 513f08e691
544 changed files with 52634 additions and 30760 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ IResourceDataGroup * Lib3MF::Impl::CKeyStore::AddResourceDataGroup() {
//in any case, the spec does not state what happens if different resource datas have different algorithms,
//but resourcedatagroups are supposed to group the same key for a group of resources...
//so far, this should work as aes256 is the only thing we support.
std::vector<NMR::nfByte> key(NMR::fnGetAlgorithmKeySize(NMR::eKeyStoreEncryptAlgorithm::AES256_GCM), 0);
std::vector<NMR::nfByte> key((size_t) NMR::fnGetAlgorithmKeySize(NMR::eKeyStoreEncryptAlgorithm::AES256_GCM), 0);
m_pModel->generateRandomBytes(key.data(), key.size());
NMR::PKeyStoreResourceDataGroup dg = NMR::CKeyStoreFactory::makeResourceDataGroup(std::make_shared<NMR::CUUID>(), key);
m_pKeyStore->addResourceDataGroup(dg);