Vector35 / Vector35/binaryninja-api

Moving from an Ultimate floating license to an Ultimate named license is awkward

Open
#6,412 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Component: UI Edition: Ultimate Effort: Low Impact: Low UI: Dialogs
Dominant language
C++
Stars
1.3k
Forks
298
Avg merge
5d 5h
Merged PRs (30d)
19

Description

Bug Description:
If you already have an enterprise.server.url configured, you will never see the dialog that asks you to provide a license file on Ultimate. It will just happily connect and check out a floating license. We now have some customers that have a mix of named and floating Ultimate licenses using an Enterprise server and this is surprising and kinda awkward.

There is a File -> Reset License... that just deletes the license.dat from your home folder and restarts (which triggers the appropriate dialog, if enterprise.server.url is not set), but that isn't helpful for this scenario. Could/should possibly be repurposed for this case as well, though.

There are two workarounds for this, currently:

  1. On the initial dialog where you log in to get an "Until I Quit" floating license, edit the Enterprise server URL and remove it, then restart. This will cause the dialog to open.
  2. Check in your license and quit Binary Ninja. Then, manually place your license file in license.dat in the Binary Ninja user directory. Then, restart. Binary Ninja will use the named license and not check out a new floating license.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the Ultimate license selection flow around enterprise.server.url, the File → Reset License action, and license.dat handling. Reproduce the case with both named and floating licenses configured through an Enterprise server. Done means users can move to a named license without manually removing the server URL or placing license.dat themselves.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
authorization, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.