• Tim Gross's avatar
    remove end-user algorithm selection (#13190) · cef1aed0
    Tim Gross authored
    After internal design review, we decided to remove exposing algorithm
    choice to the end-user for the initial release. We'll solve nonce
    rotation by forcing rotations automatically on key GC (in a core job,
    not included in this changeset). Default to AES-256 GCM for the
    following criteria:
    
    * faster implementation when hardware acceleration is available
    * FIPS compliant
    * implementation in pure go
    * post-quantum resistance
    
    Also fixed a bug in the decoding from keystore and switched to a 
    harder-to-misuse encoding method.
    cef1aed0