[GH-ISSUE #88] Secret encryption key is not valid #26

Closed
opened 2026-03-03 01:21:15 +03:00 by kerem · 5 comments
Owner

Originally created by @dualven on GitHub (Aug 31, 2021).
Original GitHub issue: https://github.com/cs01/termpair/issues/88

Describe the bug
I follow the instruction to run the programe , but at the last step , it says : secret encryption key is not valid ...
could you give me some advise?

image

Originally created by @dualven on GitHub (Aug 31, 2021). Original GitHub issue: https://github.com/cs01/termpair/issues/88 **Describe the bug** I follow the instruction to run the programe , but at the last step , it says : secret encryption key is not valid ... could you give me some advise? ![image](https://user-images.githubusercontent.com/2209534/131454819-d12a757a-94dc-46af-99a6-295065d5ea4e.png)
kerem closed this issue 2026-03-03 01:21:15 +03:00
Author
Owner

@cs01 commented on GitHub (Aug 31, 2021):

Maybe doublecheck it is entered correctly?

Can you share all the text printed by the termpair share command (and remove anything you don’t want to share)? Have you tried going to the url printed by the share command?

<!-- gh-comment-id:908968142 --> @cs01 commented on GitHub (Aug 31, 2021): Maybe doublecheck it is entered correctly? Can you share all the text printed by the termpair share command (and remove anything you don’t want to share)? Have you tried going to the url printed by the share command?
Author
Owner

@dualven commented on GitHub (Aug 31, 2021):

Shareable link: http://10.60.100.192:8001/?terminal_id=62b2f7510cfbc61a2abe13b97ed97297#ZMF8MChBsMSICwG0hEe0UQ==
Then I open browse with the url . fill the blank with “62b2f7510cfbc61a2abe13b97ed97297” and "ZMF8MChBsMSICwG0hEe0UQ==" . is there anything wrong ?
I open the browse at another PC with ip 10.60.2.193 .

<!-- gh-comment-id:909002151 --> @dualven commented on GitHub (Aug 31, 2021): Shareable link: http://10.60.100.192:8001/?terminal_id=62b2f7510cfbc61a2abe13b97ed97297#ZMF8MChBsMSICwG0hEe0UQ== Then I open browse with the url . fill the blank with “62b2f7510cfbc61a2abe13b97ed97297” and "ZMF8MChBsMSICwG0hEe0UQ==" . is there anything wrong ? I open the browse at another PC with ip 10.60.2.193 .
Author
Owner

@cs01 commented on GitHub (Aug 31, 2021):

The page has to be served over https to work. For some reason the error message saying so isn't showing. I'll have to fix that.

To fix, you must run the server with --certfile and --keyfile.

 To generate an SSL certificate and private key,
run `openssl req -newkey rsa:2048 -nodes -keyout host.key -x509 -days 365 -out
host.crt`. To skip questions and use defaults, add the `-batch` flag. You can
ignore warnings about self-signed certificates since you know you just made
it. Then use them, pass the '--certfile' and '--keyfile' arguments.

See termpair serve --help for more info.

<!-- gh-comment-id:909261556 --> @cs01 commented on GitHub (Aug 31, 2021): The page has to be served over https to work. For some reason the error message saying so isn't showing. I'll have to fix that. To fix, you must run the server with --certfile and --keyfile. ``` To generate an SSL certificate and private key, run `openssl req -newkey rsa:2048 -nodes -keyout host.key -x509 -days 365 -out host.crt`. To skip questions and use defaults, add the `-batch` flag. You can ignore warnings about self-signed certificates since you know you just made it. Then use them, pass the '--certfile' and '--keyfile' arguments. ``` See `termpair serve --help` for more info.
Author
Owner

@cs01 commented on GitHub (Aug 31, 2021):

If you upgrade to v0.3.1.4 the error message is improved

<!-- gh-comment-id:909357106 --> @cs01 commented on GitHub (Aug 31, 2021): If you upgrade to v0.3.1.4 the error message is improved
Author
Owner

@dualven commented on GitHub (Sep 1, 2021):

thanks , it is ok now !!

<!-- gh-comment-id:909833393 --> @dualven commented on GitHub (Sep 1, 2021): thanks , it is ok now !!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/termpair#26
No description provided.