You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RecipientStanza started as an enum, and we parsed the header into the exact recipient types we knew about. This worked well when we also knew the exact set of supported recipient / identity types, but since the Identity trait was introduced in #117 we no longer have complete knowledge. We need to rework the parsing, wrapping, and unwrapping logic to be based around a common Stanza type, which individual recipient / identity types parse further.
Blocks the next release, because we made the current enum-based RecipientStanza public in #117.
The text was updated successfully, but these errors were encountered:
Recipient and identities now internally parse the generic stanza fields.
The new struct is exposed as age::Stanza. This might move into age-core
at some point, when it is unified with age_core::format::AgeStanza.
Closes#118.
RecipientStanza
started as an enum, and we parsed the header into the exact recipient types we knew about. This worked well when we also knew the exact set of supported recipient / identity types, but since theIdentity
trait was introduced in #117 we no longer have complete knowledge. We need to rework the parsing, wrapping, and unwrapping logic to be based around a commonStanza
type, which individual recipient / identity types parse further.Blocks the next release, because we made the current enum-based
RecipientStanza
public in #117.The text was updated successfully, but these errors were encountered: