Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

signing up a new jabber id #12

Open
hannesm opened this issue Dec 5, 2014 · 4 comments
Open

signing up a new jabber id #12

hannesm opened this issue Dec 5, 2014 · 4 comments

Comments

@hannesm
Copy link
Owner

@hannesm hannesm commented Dec 5, 2014

No description provided.

@hannesm hannesm mentioned this issue Dec 22, 2014
8 of 8 tasks complete
@cfcs
Copy link

@cfcs cfcs commented Aug 27, 2015

What's the status on this one, is it still part of a release plan?

@hannesm
Copy link
Owner Author

@hannesm hannesm commented Aug 27, 2015

it would be great, but I haven't had time to look into this right now...

@cfcs
Copy link

@cfcs cfcs commented Sep 27, 2015

kindly bumping :-)

@hannesm hannesm mentioned this issue Oct 1, 2015
6 of 14 tasks complete
@cfcs
Copy link

@cfcs cfcs commented Sep 29, 2016

For now, I'm using:

#!/bin/bash -eu
echo "Usage: $0 [server.org] [username] [password] | openssl s_client -starttls xmpp -connect [server]:5222" 1>&2

server="$1"
username="$2"
password="$3"

cat <<EOF
<?xml version='1.0'?><stream:stream to='${server}' version='1.0' xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client'>
<iq type='get' id='reg1' to='${server}'><query xmlns='jabber:iq:register'/></iq>
<iq type='set' id='purple$(head -c 4 /dev/urandom | xxd -ps)' to='${server}'><query xmlns='jabber:iq:register'><username>${username}</username><password>${password}</password></query></iq>
EOF
cat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants