<%# locals: (user:, for_self:) -%>
<% if user.keybase_signatures? %>
  <% user.keybase_signatures.each do |kbs| %>
    <%= link_to "@#{kbs[:kb_username]}", keybase_user_link(kbs) %>
    <%= link_to "✔", keybase_proof_link(kbs) %>
    <% if for_self %>(<%= link_to "Unlink", keybase_proof_path(kbs[:kb_username]), method: :delete %>)<% end %>
  <% end %>
<% elsif for_self %>
  <%= link_to "Run", "https://keybase.io/download" %> <pre>keybase prove lobste.rs</pre>
<% end %>
