Skip to content

Commit

Permalink
XEP-0480: Use base64 encoding for the salt
Browse files Browse the repository at this point in the history
  • Loading branch information
weiss committed Dec 1, 2024
1 parent 7673b28 commit 06a3dcd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion specs/xmpp_codec.spec
Original file line number Diff line number Diff line change
Expand Up @@ -5564,7 +5564,10 @@
enc = {enc_int, []},
dec = {dec_int, [1, infinity]},
required = true}],
result = {scram_upgrade_salt, '$iterations', '$cdata'}}).
cdata = #cdata{label = '$data',
enc = {base64, encode, []},
dec = {base64, decode, []}},
result = {scram_upgrade_salt, '$iterations', '$data'}}).

-xml(scram_upgrade_hash,
#elem{name = <<"hash">>,
Expand Down

0 comments on commit 06a3dcd

Please sign in to comment.