Skip to content

keybase.io generates an unusable curl command for uploading a public key #10682

@isislovecruft

Description

@isislovecruft

Hi!

I'm sorry for filing this here, but it seemed like the keybase-issues repo was unused and I wasn't sure where to file it. I can re-file if you'd prefer it to go elsewhere.

When I try to import my public key through the new account creation process on keybase.io, it eventually generates a hefty shell script which calls curl with some JSON containing a new signature of the public key and some nonce/timestamp stuff. However, it looks like curl is unwilling to do that, apparently due to refusing to make a buffer large enough for the public key:

!isisⒶwintermute:~ ∴ chmod +x keybase-curl-thing.sh 
∃!isisⒶwintermute:~ ∴ ./keybase-curl-thing.sh 

You need a passphrase to unlock the secret key for
user: "Isis <isis@torproject.org>"
4096-bit RSA key, ID B8938BC5E86C046F, created 2017-09-08
         (subkey on main key ID A3ADB67A2CDB8B35)

./keybase-curl-thing.sh: line 2: /usr/bin/curl: Argument list too long
∃!isisⒶwintermute:(master=)~/code/sources/curl ∴ curl --version
curl 7.38.0 (x86_64-pc-linux-gnu) libcurl/7.38.0 OpenSSL/1.0.1t zlib/1.2.8 libidn/1.29 libssh2/1.4.3 librtmp/2.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smtp smtps telnet tftp 
Features: AsynchDNS IDN IPv6 Largefile GSS-API SPNEGO NTLM NTLM_WB SSL libz TLS-SRP 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions