   find_latest_key : (cb) ->
     esc = make_esc cb, "SetupKeyRunner::find_latest_key"
     em = constants.uid_email.code
-    err = ret = null
+    err = null
     await @master.read_uids_from_key {}, esc defer uids
     comments = (uid.comment for uid in uids when (uid.email is em))
     versions = (parseInt(m[1]) for c in comments when (m = c.match /v(\d+)/))

  constructor : () ->
    @master = keyring.master_ring()
    @id_email = "code@keybase.io"

  #------------

  run : (cb) ->
    await @find_latest_key defer err, key
    unless key?
      await @install_key defer err, key
    cb err

  #------------

{keyring} = require 'gpg-wrapper'
{constants} = require './constants'
{log} = require './log'
{make_esc} = require 'iced-error'

##========================================================================

