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

Change key once program is running #8

Closed
oldmanegan opened this issue Jul 25, 2016 · 9 comments
Closed

Change key once program is running #8

oldmanegan opened this issue Jul 25, 2016 · 9 comments

Comments

@oldmanegan
Copy link

Is there a means of changing the key once the program is running that uses the Cape library? I have the instantiation working fine, but wish to change keys periodically for security reasons without aneed to restart and find a means to load a new key at start up.

Thanks.

@gioblu
Copy link
Owner

gioblu commented Jul 25, 2016

Ciao @oldmanegan. Yes, this is a must have. Thank you for pointing out. I will soon work on it.

@gioblu
Copy link
Owner

gioblu commented Jul 25, 2016

Ciao @oldmanegan I have pushed the new version (1.4) containing the changes you proposed.
Please if you can give it a test.
Thank you again.

@oldmanegan
Copy link
Author

Hi Giovanni,
I tried it several times and could not change the original key. Possibly I am making an error. I set the key instantiation then on the setup() I attempted to modify. Did not work. Must I change it in a standard font ion or the loop()?
Thanks for your work,

John

Sent from my iPhone

On Jul 25, 2016, at 11:56,

Giovanni Blu Mitolo notifications@github.com wrote:

Ciao @oldmanegan I have pushed the new version (1.4) containing the change you proposed.
Please if you can give it a test.
Thank you again.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@gioblu
Copy link
Owner

gioblu commented Jul 26, 2016

_reduced_key was not reset correctly on key change. Thank you for pointing out the problem. I developed an example to show how to handle the change, generating a random key every loop cycle.
See the last commits / pull the master version :)

Thank you for pointing out the lack of documentation :).

@gioblu
Copy link
Owner

gioblu commented Jul 26, 2016

Ciao @oldmanegan let me know if works now so I will close this issue.
https://github.com/gioblu/Cape/releases/tag/1.4.1
Thanks again.

@oldmanegan
Copy link
Author

All seems well, Giovanni.
Thanks!

On Tue, Jul 26, 2016 at 2:40 PM, Giovanni Blu Mitolo <
notifications@github.com> wrote:

https://github.com/gioblu/Cape/releases/tag/1.5


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#8 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AOzb_uy73trEOPApsvptT_8HKQ1EE7dcks5qZlStgaJpZM4JTwMx
.

@gioblu
Copy link
Owner

gioblu commented Jul 30, 2016

Ciao @oldmanegan thank you again for feedback.
Happy tinkering :)

@gioblu gioblu closed this as completed Jul 30, 2016
@oldmanegan
Copy link
Author

By the way, the 1.5 tag link does not work. I only used what is still shown
on Github as 1.4

On Sat, Jul 30, 2016 at 12:16 PM, Giovanni Blu Mitolo <
notifications@github.com> wrote:

Ciao @oldmanegan https://github.com/oldmanegan thank you again for
feedback.
Happy tinkering :)


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#8 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AOzb_jZgOSAzz4Kj12G7aiXwkZqmhJ8-ks5qa3jdgaJpZM4JTwMx
.

@gioblu
Copy link
Owner

gioblu commented Jul 30, 2016

1.4 contains the bug you noticed, 1.4.1 (See https://github.com/gioblu/Cape/releases/tag/1.4.1) contains the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants