We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8fb4cc commit 44e9677Copy full SHA for 44e9677
src/encrypt_decrypt/encrypt_decrypt.cpp
@@ -815,6 +815,10 @@ Napi::Value MultiEncryptWrapper::decryptForGroup(const Napi::CallbackInfo& info)
815
std::span<std::span<const unsigned char>> groupEncKeys(span_group_enc_keys);
816
817
keys.decrypt_keys = groupEncKeys;
818
+ // remove prefix
819
+ std::vector<uint8_t> groupPkNoPrefix(groupPk.begin() + 1, groupPk.end());
820
+
821
+ keys.group_ed25519_pubkey = groupPkNoPrefix;
822
823
for (uint32_t i = 0; i < first.Length(); i++) {
824
auto itemValue = first.Get(i);
0 commit comments