diff --git a/examples/signaling-server.py b/examples/signaling-server.py
index <HASH>..<HASH> 100644
--- a/examples/signaling-server.py
+++ b/examples/signaling-server.py
@@ -5,7 +5,7 @@
 
 import asyncio
 import binascii
-import secrets
+import os
 
 import websockets
 
@@ -13,7 +13,7 @@ clients = {}
 
 
 async def echo(websocket, path):
-    client_id = binascii.hexlify(secrets.token_bytes(8))
+    client_id = binascii.hexlify(os.urandom(8))
     clients[client_id] = websocket
 
     try:
[examples] don't use 'secrets', it's not available in python <I>