migscabral / gdatacopier

Automatically exported from code.google.com/p/gdatacopier
0 stars 0 forks source link

Allow password to be placed in a configuration file. #66

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
For scripted use of the gdatacopier tools, it is helpful if one does not have 
to interactively enter a password every time.  However, the only option that 
gdatacopier provides is the "-p" command line option.  This has several 
problems, not the least of which is that command lines are visible with "ps", 
so this exposes your password to anyone else on a shared system.

A common solution is to allow authentication information to be specified in a 
configuration file, e.g.:

  [gdatacopier]
  user=me@gmail.com
  password=secret

The ConfigParser module would make this reasonably easy.

Original issue reported on code.google.com by lar...@gmail.com on 16 Nov 2010 at 4:02

GoogleCodeExporter commented 9 years ago
Similar suggestions have already been lodged, for authentication via OAuth or 
generated hashses. This is on our radar and will implement a solution in our 
next release.

Original comment by devraj on 16 Nov 2010 at 9:38

GoogleCodeExporter commented 9 years ago
To be replaced by OAuth authentication implementation

Original comment by devraj on 4 Dec 2010 at 11:56

GoogleCodeExporter commented 9 years ago
To be replaced by OAuth authentication implementation

Original comment by devraj on 4 Dec 2010 at 11:56

GoogleCodeExporter commented 9 years ago
This is still an open issue: gcp.py allows a --password-file flag but the other 
utilities do not.

Original comment by l...@google.com on 27 Feb 2012 at 9:23

GoogleCodeExporter commented 9 years ago
Please refer to our Roadmap for 3.0 we are moving to OAuth. Does that satisfy 
your requirements?

Original comment by d...@etk.com.au on 27 Feb 2012 at 9:28

GoogleCodeExporter commented 9 years ago
YES. Close this as Won't Fix, then?

Also, http://code.google.com/p/gdatacopier/wiki/RoadMap

Original comment by l...@google.com on 27 Feb 2012 at 9:37

GoogleCodeExporter commented 9 years ago
Refer to my working document at 
http://code.google.com/p/gdatacopier/wiki/DevelopmentNotes30

Closed as Won't Fix, to be replaced by OAuth 2 Legged auth.

Original comment by devraj on 27 Feb 2012 at 9:42