• Maksim Moskvitin's avatar
    Add test for keystore key rotation · b9c8d354
    Maksim Moskvitin authored
    New test mimics server-side behavior for triggering keystore key
    rotation: generation of new keystore key with touching the Nigori
    node. After that client should receive updated keystore keys and the
    same Nigori node as it already has (modulo metadata update). The client
    should commit the new Nigori node with rotated keystore key and this
    verified by checking |encryption_keybag| encryption key name.
    
    Bug: 922900
    Change-Id: I91b86bbb0f68a55fdcc10049fa90afa70dc32155
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1887611Reviewed-by: default avatarMikel Astiz <mastiz@chromium.org>
    Commit-Queue: Maksim Moskvitin <mmoskvitin@google.com>
    Auto-Submit: Maksim Moskvitin <mmoskvitin@google.com>
    Cr-Commit-Position: refs/heads/master@{#712502}
    b9c8d354
loopback_server.cc 30.7 KB