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

Comments

Projects
None yet
2 participants
@hannesm
Owner

hannesm commented Dec 5, 2014

No description provided.

@hannesm hannesm referenced this issue Dec 22, 2014

Closed

release plan #25

8 of 8 tasks complete
@cfcs

This comment has been minimized.

cfcs commented Aug 27, 2015

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

@hannesm

This comment has been minimized.

Owner

hannesm commented Aug 27, 2015

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

@cfcs

This comment has been minimized.

cfcs commented Sep 27, 2015

kindly bumping :-)

@hannesm hannesm referenced this issue Oct 1, 2015

Open

missing muc features #87

6 of 14 tasks complete
@cfcs

This comment has been minimized.

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