Blender-ID add-on for inclusion as OFFICIAL #49008

Closed
opened 2016-08-03 10:08:22 +02:00 by Francesco Siddi · 10 comments

This add-on allows you to authenticate your Blender with your Blender ID account. This authentication can then be used by other add-ons, such as the Blender Cloud add-on.

* The repo with the code is [hosted on developer.blender.org ](https://developer.blender.org/diffusion/BIA/) * There has already been a review with Campbell in infrastructure/blender-id#48024 * Wiki page https://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/System/BlenderID This add-on allows you to authenticate your Blender with your Blender ID account. This authentication can then be used by other add-ons, such as the Blender Cloud add-on.
Sergey Sharybin was assigned by Francesco Siddi 2016-08-03 10:08:22 +02:00
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Author
Member

Added subscriber: @fsiddi

Added subscriber: @fsiddi
Author
Member

Added subscribers: @dr.sybren, @mont29

Added subscribers: @dr.sybren, @mont29

Looked over the code. Generally seems fine to me, but couple of points:

Avoid using global scope imports, especially of heave and barely used things like json. Try making such imports local in functions.

I'm a bit corned about server replying whether its incorrect user or incorrect password. This is something what was discovered in SSH and assigned a score of 5 : CVE-2016-6210. Would think we should just tell that credentials are incorrect and don't go into details.

Looked over the code. Generally seems fine to me, but couple of points: Avoid using global scope imports, especially of heave and barely used things like json. Try making such imports local in functions. I'm a bit corned about server replying whether its incorrect user or incorrect password. This is something what was discovered in SSH and assigned a score of 5 : CVE-2016-6210. Would think we should just tell that credentials are incorrect and don't go into details.

Did only very quick skimming, but lgtm too… POints raised by @Sergey are valid for sure, but those can also be addressed once in repo…

Did only very quick skimming, but lgtm too… POints raised by @Sergey are valid for sure, but those can also be addressed once in repo…

In #49008#384662, @Sergey wrote:
Avoid using global scope imports, especially of heave and barely used things like json. Try making such imports local in functions.

Fixed in infrastructure/blender-id-addon@f02fefd8d0

I'm a bit corned about server replying whether its incorrect user or incorrect password. This is something what was discovered in SSH and assigned a score of 5 : CVE-2016-6210. Would think we should just tell that credentials are incorrect and don't go into details.

Fixed in the add-on in infrastructure/blender-id-addon@eccfb2efc4, and in BlenderID itself in infrastructure/blender-id@286aca1cb4. I also implemented blinding of the password check, so that an attacker can't determine whether the username exists based on the timing of the response.

> In #49008#384662, @Sergey wrote: > Avoid using global scope imports, especially of heave and barely used things like json. Try making such imports local in functions. Fixed in infrastructure/blender-id-addon@f02fefd8d0 > I'm a bit corned about server replying whether its incorrect user or incorrect password. This is something what was discovered in SSH and assigned a score of 5 : CVE-2016-6210. Would think we should just tell that credentials are incorrect and don't go into details. Fixed in the add-on in infrastructure/blender-id-addon@eccfb2efc4, and in BlenderID itself in infrastructure/blender-id@286aca1cb4. I also implemented blinding of the password check, so that an attacker can't determine whether the username exists based on the timing of the response.

One last thing: we should strip out your part of the code which does cacert.pem tricks. We only missed this file for msvc2015 builds which i've fixed now.

Stripping out that part of code gives 35% speedup of warm Blender startup.

One last thing: we should strip out your part of the code which does `cacert.pem` tricks. We only missed this file for msvc2015 builds which i've fixed now. Stripping out that part of code gives 35% speedup of warm Blender startup.

Done in infrastructure/blender-id-addon@d26cba9d56.

The plan is as follows. B'ID add-on version

Done in infrastructure/blender-id-addon@d26cba9d56. The plan is as follows. B'ID add-on version - 1.1.x will be the last to target 2.77a (and the last to be bundled with the Blender Cloud addon). - 1.2.0 includes infrastructure/blender-id-addon@d26cba9d56, and will be the one to be bundled with 2.78.

This issue was referenced by 84a93440fd

This issue was referenced by 84a93440fd5c5ecbe80d7bb9743c1747d0bde3eb

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sign in to join this conversation.
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#49008
No description provided.