Mark EncryptedData encode as unsupported atm
parent
82549315ff
commit
bed1e06d13
|
@ -28,12 +28,16 @@ module Rex
|
||||||
when OpenSSL::ASN1::Sequence
|
when OpenSSL::ASN1::Sequence
|
||||||
decode_asn1(input)
|
decode_asn1(input)
|
||||||
else
|
else
|
||||||
raise ::RuntimeError, 'Failed to decode Principal Name, invalid input'
|
raise ::RuntimeError, 'Failed to decode EncryptedData Name, invalid input'
|
||||||
end
|
end
|
||||||
|
|
||||||
self
|
self
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def encode
|
||||||
|
raise ::RuntimeError, 'EncryptedData encoding is not supported'
|
||||||
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
# Decodes a Rex::Proto::Kerberos::Model::Type::EncryptedData from an String
|
# Decodes a Rex::Proto::Kerberos::Model::Type::EncryptedData from an String
|
||||||
|
|
Loading…
Reference in New Issue