Skip to content

Commit

Permalink
Update encrypt.rb
Browse files Browse the repository at this point in the history
Rm mention of some specific internal tool.
Every CBOrm user could use the encryption tool of its choice.
  • Loading branch information
pimpin authored Aug 19, 2024
1 parent 16e025b commit 418b79a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/couchbase-orm/encrypt.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def encode_encrypted_attributes
type = self.class.attribute_types[key.to_s]
if type.is_a?(CouchbaseOrm::Types::Encrypted)
next unless value
raise "Can not serialize value #{value} of type '#{value.class}' for Tanker encrypted attribute" unless value.is_a?(String)
raise "Can not serialize value #{value} of type '#{value.class}' for encrypted attribute" unless value.is_a?(String)
["encrypted$#{key}", {
alg: type.alg,
ciphertext: value
Expand Down

0 comments on commit 418b79a

Please sign in to comment.