-
Notifications
You must be signed in to change notification settings - Fork 30
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
Client cli #90
Comments
@liamsi Maybe we can reuse this testutil (https://github.com/coniks-sys/coniks-go/blob/master/keyserver/testutil/testutil.go#L124)? |
Looks useful indeed. Thanks! |
Is there an equivalent dealing with the registration (from a clients perspective/directly contacting the twitter bot)? I see there is also https://github.com/coniks-sys/coniks-go/blob/master/keyserver/testutil/testutil.go#L154 but this is only for internal communication, though? |
Yes, it is. |
Could you point me to the code? I didn't find code which actually send the particular DMs to the bot (only code that directly calls |
Oops, I misinterpreted your question. Sorry :(
Yes, if we decide to go to with a real client, we will need to use the twitter API (I think we can re-use the Ahh, sorry again :( |
Thanks for your reply and no worries!
OK, then I start with that. Although I think, for this client to be actually useful, we would need it to got through the twitter bot. Otherwise the registration is simplified so much that someone looking at the go-test-client won't figure out the how-to implement a real client. |
* Minimalistic test-client. Part of #90 * Currently registration & lookup is implemented. * Some differences to a real client implementation: * Client doesn't use (twitter-)bot for registration; * Client doesn't store and verify the hash chain; * Client uses testutils package (which doesn't verify the tls-cert). * Closes #93
Should we close this? |
Yup |
TODO:
|
The (test-)client command line interface should have the the following functionality:
And deal with all the details/edge-cases that come with that, e.g, dealing with temporary bindings etc
The cli should clarify what a real client would need to implement and what a client would need to know in advance/before doing its first request (like initial public key of the key-server, key-server's epoch duration, or "initial" STR if necessary).
For a start, we omit the possibility to alter the key-change policy (which is currently possible in the java-test client: https://github.com/coniks-sys/coniks-java/blob/master/coniks_test_client/src/main/java/org/coniks/coniks_test_client/TestClient.java#L447)
The text was updated successfully, but these errors were encountered: