'robertcesiPhone' has signed into your account

MMartyn
MMartyn
Community Member

I am evaluating the CLI and upon logging in I got an email saying that 'robertcesiPhone' has signed into my account. I am wondering if that device name was accidentally hard coded into the CLI.

Thanks.


1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Sync Type: Not Provided
Referrer: forum-search:robertcesiPhone

Comments

  • MMartyn
    MMartyn
    Community Member

    I guess I am more curious about how it determines the device name and possibly what would cause the name to be wrong.

  • MMartyn
    MMartyn
    Community Member

    I think I figured it out on my own. From what I can tell it does a reverse dns lookup and uses that as the device name. Then it saves that to the .device file

  • The name of the device is from Go's os.Hostname() call which could behave differently on different platforms. Here it shows as invoking sysctl kern.hostname.

    The CLI itself isn't doing any kind of reverse DNS to determine this, we want to get this info from the OS. If you're on a Mac, run hostname and you'll likely get the same result.

    Rick

This discussion has been closed.