You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
where other_data contains all other attributes (the key is the attribute name, the value is the corresponding protected attribute value). Encryptable and Decryptable traits cannot be currently derived for BTreeMap. If we try to implement them manually we'll hit two issues:
fn protected_attributes is static
a way to list these other attributes in fn from_unsealed : I guess one could use unsealed.protected() and exclude the statically known attributes?
The text was updated successfully, but these errors were encountered:
@auxesis maybe one alternative for this, possibly safer, could be if Cipherstash supported nested DDB map, so it could just be one static attribute other_data (of type map), and the values inside that map would be protected.
We'd like to be able to add a dynamic "catch-all-other-attributes" field in a data struct, e.g.:
where
other_data
contains all other attributes (the key is the attribute name, the value is the corresponding protected attribute value).Encryptable
andDecryptable
traits cannot be currently derived forBTreeMap
. If we try to implement them manually we'll hit two issues:fn protected_attributes
is staticfn from_unsealed
: I guess one could useunsealed.protected()
and exclude the statically known attributes?The text was updated successfully, but these errors were encountered: