The unofficial Google shell
11–20 of 56 posts
Re: The unofficial Google shell
#12Very cool. `man login` says that you only see the username we type in. How are you authenticating?
I'm guessing it all happens client side from the browser.
--edit: I was wrong, it wasn't a 500 error, it was a 404. I don't want to cast too much suspicion here, just making a point about being appropriately paranoid about giving out my creds. This site could be totally cool, I want it transparent to me before I login.
Re: The unofficial Google shell
#13Re: The unofficial Google shell
#14Re: The unofficial Google shell
#15You type "cat news" and then are confused that the results involve felines.
Re: The unofficial Google shell
#16Re: The unofficial Google shell
#17http://news.ycombinator.com/item?id=1025039
Re: The unofficial Google shell
#18Earlier quoted context omitted.
I'm guessing it all happens client side from the browser.
I don't want to "guess" that. I'd like it really spelled out. I tried "login" and got a 500 from a debian server. I wouldn't send my credentials through some random server just because it was on HN. --edit: I was wrong, it wasn't a 500 error, it was a 404. I don't want to cast too much suspicion here, just making a point about being appropriately paranoid about giving out my creds. This site could be totally cool, I…
Re: The unofficial Google shell
#19Very cool. `man login` says that you only see the username we type in. How are you authenticating?
I'm guessing it all happens client side from the browser.
From the source:
goosh.module.login = function () {
this.name = "login";
this.aliases = new Array("login");
this.help = "login with your google account *";
this.helptext = "goosh sees only your username";
this.parameters = "";
this.cb = function (A, B) {
if (goosh.ajax.iscontext(A)) {
if (B && B != "guest") {
goosh.lib.cookie.set("loggedin", "1", 365)
}
goosh.config.user = B;
if (goosh.config.user != "guest") {
goosh.gui.outln("You're logged in as: "
+ goosh.config.user + "
");
goosh.set.init();
goosh.gui.updateprompt();
goosh.gui.showinput();
goosh.gui.focusinput();
goosh.gui.scroll()
} else {
goosh.ajax.query("http://goosh.appspot.com/dologin?")
}
goosh.gui.showinput();
goosh.gui.focusinput();
goosh.gui.scroll()
}
};
this.call = function (A) {
goosh.ajax.query("http://goosh.appspot.com/
status?callback=goosh.modobj.login.cb")
}
};
goosh.modules.register("login");