Secret key randomization with smart_manager.py