go1.20.5
GoThrough

otr.ConversationEnded

// ConversationEnded indicates that the peer ended the secure // conversation. const ConversationEnded = iota

otr.NewKeys

// NewKeys indicates that a key exchange has completed. This occurs // when a conversation first becomes encrypted, and when the keys are // renegotiated within an encrypted conversation. const NewKeys = iota

otr.NoChange

const NoChange = iota

otr.SMPComplete

// SMPComplete indicates that an authentication completed. The identity // of the peer has now been confirmed. const SMPComplete = iota

otr.SMPFailed

// SMPFailed indicates that an authentication failed. const SMPFailed = iota

otr.SMPSecretNeeded

// SMPSecretNeeded indicates that the peer has started an // authentication and that we need to supply a secret. Call SMPQuestion // to get the optional, human readable challenge and then Authenticate // to supply the matching secret. const SMPSecretNeeded = iota

otr.ErrorPrefix

// ErrorPrefix can be used to make an OTR error by appending an error message // to it. var ErrorPrefix = "?OTR Error:"

otr.QueryMessage

// QueryMessage can be sent to a peer to start an OTR conversation. var QueryMessage = "?OTRv2?"