~/talk

Make sudo pip Safe Again

Talkat PyCon SK 2017 · 2017-03-10..03-12· [python, security]
slides:none on file

Claim: running sudo pip3 is unsafe on Fedora because pip shares DNF-managed installation directories and can remove or overwrite files, leaving Python 3 broken. The work inspects Python interpreter initialization, reproduces breakage in live demos, and measures package removals. The proposed mitigation is a Fedora Change proposal to separate install locations and enforce packaging policy; demos and tests show the failure mode and a workable packaging-level fix.

AI-written summary · about

  1. 0:00Introduction to sudo pip risks
  2. 4:06Problems with pip in Fedora
  3. 8:07Security flaws in Python packages
  4. 12:10User local directory conflicts
  5. 16:08Python 3 in Fedora 24
  6. 20:11Solutions and best practices
  7. 24:58Future of sudo pip safety
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.