Opened 4 months ago

Closed 4 months ago

Last modified 4 months ago

#23026 closed defect (fixed)

Rename hybrid_encrypt functions to prevent accidental use

Reported by: nickm Owned by:
Priority: Medium Milestone: Tor: 0.3.2.x-final
Component: Core Tor/Tor Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points: 0
Reviewer: Sponsor:

Description

The old hybrid_encrypt functions are necessary for implementing TAP and old-style hidden services, but they're also obsolete, since they produce malleable output. We shouldn't encourage anybody to use them. We should add a comment to this effect, and rename them to something less general-sounding.

See also #22987

Child Tickets

Change History (2)

comment:1 Changed 4 months ago by nickm

Resolution: fixed
Status: newclosed

Fixed in 6c8c9731915a796c8a1bc11f376793459db1200f

comment:2 Changed 4 months ago by nickm

Component: - Select a componentCore Tor/Tor
Note: See TracTickets for help on using tickets.