Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #5975 (closed)

Opened 8 years ago

Closed 8 years ago

Bug: DropBox/CLI should not store uuid as username

Reported by: jamoore Owned by: jamoore
Priority: minor Milestone: OMERO-Beta4.3.2
Component: Client Version: n.a.
Keywords: n.a. Cc: cblackburn
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2011-08-04 (2)

Description

~/git/dist $ bin/omero script list
Previous session expired for f108226a-e6d4-4e4f-9152-9777633eab4a on localhost:4064
Server: [localhost]
Username: [f108226a-e6d4-4e4f-9152-9777633eab4a]

Change History (8)

comment:1 Changed 8 years ago by jmoore

  • Owner set to jmoore
  • Remaining Time set to 0.25

comment:2 Changed 8 years ago by jmoore <josh@…>

  • Remaining Time changed from 0.25 to 0
  • Resolution set to fixed
  • Status changed from new to closed

(In [2bfb05c1c2f5b9f719fb8eafc482dbea9b6ffa9d/ome.git] on branch develop) Use userName not uuid in util/sessions.py (Fix #5975)

comment:3 Changed 8 years ago by jmoore

  • Resolution fixed deleted
  • Status changed from closed to reopened

Issue still persists when using the "-k" argument as opposed to "-n" argument. Reopening.

comment:4 Changed 8 years ago by jmoore

~/git $ git push team bug/5975:refs/heads/bug/5975
Counting objects: 699, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (170/170), done.
Writing objects: 100% (510/510), 3.00 MiB | 103 KiB/s, done.
Total 510 (delta 369), reused 419 (delta 284)
To ssh://git.openmicroscopy.org/home/git/team.git
 * [new branch]      bug/5975 -> bug/5975

comment:5 Changed 8 years ago by jmoore

  • Milestone changed from OMERO-Beta4.3.1 to OMERO-Beta4.3.2
  • Remaining Time changed from 0 to 0.25
  • Sprint 2011-07-07 (1) deleted

Sorry, Colin. I didn't get any further. I'm pushing, but you're welcome to pull it back in as necessary.

comment:6 Changed 8 years ago by jmoore

  • Sprint set to 2011-08-04 (2)
  • Status changed from reopened to accepted

comment:7 Changed 8 years ago by jmoore

I think I have the described issue solved so that keys no longer show up as the offered username, but it looks like it still defies the principle of least surprise:

~/git/dist $ bin/omero login
Using session 4f7d5abb-8d72-46ef-b602-23e549f1e3c1 (jmoore@localhost:4064). Idle timeout: 10.0 min. Current group: home
~/git/dist $ bin/omero logout
~/git/dist $ less var/log/DropBox.log 
~/git/dist $ bin/
~/git/dist $ bin/omero login
Using session 38e58dcd-fd3e-4731-a211-98ca5da09fbb (root@localhost:4064). Idle timeout: 10.0 min. Current group: system
~/git/dist $ 

Perhaps the best option is to prevent all access to ~/omero/sessions from DropBox?.

comment:8 Changed 8 years ago by jmoore <josh@…>

  • Remaining Time changed from 0.25 to 0
  • Resolution set to fixed
  • Status changed from accepted to closed

(In [39ca91b99ab86c22117360698505de5fc0e5f2e8/ome.git] on branch develop) Prevent store.set_current on '-k' login (Fix #5975)

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.80394 sec.)

We're Hiring!