mirror of
https://github.com/gravitational/teleport.git
synced 2026-11-04 02:21:02 +08:00
* Refactor connection sharing logic to allow reconnection logic. * Refactor signature method into organized parts; Move signPromptMu further down the callstack to allow better concurrent access; Add attestMu to prevent certificate corruption. * Handle PIV reconnection within doWithSharedConn. * Add test; Fix issues. * Add debug log. * Clean up locks. * Only prompt PIN on retry; Clean up prompt logic. * Add todo for upstream PR. * Prevent PIV operations that don't support concurrency from being run concurrently; add test. * - Revert connection sharing refactors. - Add exclusiveOperationMu mutex and test. * Address comments; Move touch prompt into abandonableSign for clearer synchronous logic. * Restore cancel cause behavior. * Address signature concurrency comments. * Fix signature channel.