jcline / fuse-google-drive

A fuse filesystem wrapper for Google Drive.
GNU General Public License v2.0
286 stars 48 forks source link

Segfault when no local issuer certificate is available #34

Open ierton opened 11 years ago

ierton commented 11 years ago

Hi. I've tried commit 6767f4256b1b2f0d8d9d1d5a24d15b6b7eab0231 on NixOS. Everything builds ok, but then..

[ierton@greyblade:~/tmp/fuse-google-drive]$ ./fuse-google-drive mountpoint/
Please open this in a web browser and authorize fuse-google-drive:
https://accounts.google.com/o/oauth2/auth?response_type=code&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile+https%3A%2F%2Fdocs.google.com%2Ffeeds%2F+https%3A%2F%2Fdocs.googleusercontent.com%2F+https%3A%2F%2Fspreadsheets.google.com%2Ffeeds%2F&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&client_id=389999424326.apps.googleusercontent.com

Once you authenticate, Google should give you a code, please paste it here:
4/QT0yvOqgsrheXB3n62u5vePGd66A.cq-3XVrx-k4VOl05ti8ZT3bPEmtCegI
code=4%2FQT0yvOqgsrheXB3n62u5vePGd66A.cq-3XVrx-k4VOl&client_id=389999424326.apps.googleusercontent.com&client_secret=Yd6gHJjDmJqrp5&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&grant_type=authorization%5Fcode
* About to connect() to accounts.google.com port 443 (#0)
*   Trying 173.194.70.84...
* Connected to accounts.google.com (173.194.70.84) port 443 (#0)
* SSL certificate problem: unable to get local issuer certificate
* Closing connection 0
Segmentation fault
ierton commented 11 years ago

I'm not familiar with SSL, what are those certificates, do I need them actually? Is there any workaround?