How to use go to verify whether the plaintext password is the same as the salt md5 password?

Issue Python: # generate password ldap_salted_md5.hash("123456") # verify password ldap_salted_md5.verify("123456","{SMD5}991RjK3DQCT+ri/yxQB613Yuxdg=") # return true shell: # generate password slappasswd -h {SMD5} -s "123456" # return {SMD5}ZmDHoIiZZG/weuCNkLj189sFoPM= # verify password by python ldap_salted_md5.verify("123456","{SMD5}ZmDHoIiZZG/weuCNkLj189sFoPM=") # return True I want to use go to

Continue reading

cross language (de)serialization

Issue i am trying to serialize in python and unmarshal in golang but i am facing error. error message — "cannot parse invalid wire-format data". code configuration — python code — schema_registry_client = SchemaRegistryClient({‘url’: ‘http://localhost:8082’}) protobuf_serializer = ProtobufSerializer(user_attributes_pb2.UserProperties, schema_registry_client, {‘use.deprecated.format’:

Continue reading