Giter Club home page Giter Club logo

hushmail-automatic-login's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

zezou

hushmail-automatic-login's Issues

Url encode the password

Nice script, but you should really encode the password in case it contains special characters (like &).

I've added the line:

HUSH_PASS=$(echo -e "$HUSH_PASS" | od -An -tx1 | tr ' ' % | xargs printf "%s")

above the TMPDIR=${TMPDIR:=/tmp} line.

For the rest, works like a charm! Thanx ;)

Hardcoded hushmail.com domain name

Hushmail now allows users to choose other domain names like hush.com, etc. Line 25 needs to be changed from this:

huser="&hush_username=${HUSH_USER}%40hushmail.com"

To this:

huser="&hush_username=${HUSH_USER}"

To work around it. Of course $HUSH_USER needs to contain the full email address with the domain name for this to work.

Thanks for the excellent script!

[curl] SSL certificate problem: unable to get local issuer certificate

First fo all, thank you so much for sharing this script, it's awesome!! It's been working great for a while, but today I got an error:

curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: http://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: http://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
rm: cannot remove ‘/tmp/hush_cookies.txt’: No such file or directory
login failed with results:

As a side note, I haven't updated anything in the OS.

curl: (23) Failed writing body (933 != 5242)

First, thanks for a very useful script! It's been working fine for a year or so, but today I got an error:

curl: (6) Could not resolve host: [redacted]
login failed with results: {"message":"Page not found","hushIdentifier":"PAGE_NOT_FOUND","hushErrorID":"54322cc53c4fb5.39028871"}

All the url's used by the script still seem to be the same and the the computer can resolve them fine, so I have no idea what's at fault. I checked the repository and noticed that there was a new version available, so I updated to the latest and now I get this error message:

curl: (23) Failed writing body (933 != 5242)

Anyone else getting the same error? Or is my computer at fault? I've recently updated to Ubuntu 14.04 so that may have changed something as well.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.