Skip to content
  • Joey Hess's avatar
    Prevent key names from containing newlines. · 480495be
    Joey Hess authored
    There are several places where it's assumed a key can be written on one
    line. One is in the format of the .git/annex/unused files. The difficult
    one is that filenames derived from keys are fed into git cat-file --batch,
    which has a line based input. (And no -z option.)
    
    So, for now it's best to block such keys being created.
    480495be