Skip to content

Commit 98afc22

Browse files
rbarisicfrancescobbo
authored andcommitted
Update compact.rb
spelling error that drove me insane
1 parent 6acb56b commit 98afc22

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/jwe/serialization/compact.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def self.encode(header, encrypted_cek, iv, ciphertext, tag)
77

88
def self.decode(payload)
99
parts = payload.split('.')
10-
raise JWE::DecodeError.new('Not enaugh or too many segments') unless parts.length == 5
10+
raise JWE::DecodeError.new('Not enough or too many segments') unless parts.length == 5
1111

1212
parts.map do |part|
1313
JWE::Base64.jwe_decode(part)

0 commit comments

Comments
 (0)