anchor.diff:  		  {auth_key, [1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6]},
   		  {priv,     usmNoPrivProtocol}],
       ?line ok = snmpm_config:register_usm_user(EngineID, UserName3, UsmConfig3),
  -    
  +
  +    ?IPRINT("register user 4 (ok)"),
  +    UserName4  = "samu4",
  +    SecName4   = "samu_auth4",
  +    UsmConfig4 = [{sec_name, SecName4},
  +		  {auth,     usmHMACMD5AuthProtocol},
  +		  {auth_key, [1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6]},
  +		  {priv,     usmAesCfb128Protocol},
  +                  {priv_key, [190,54,66,227,33,171,152,0,133,223,204,155,109,111,77,44]}],
  +    ?line ok = snmpm_config:register_usm_user(EngineID, UserName4, UsmConfig4),
  +
       ?IPRINT("lookup 1 (ok)"),
       ?line {ok, #usm_user{name = UserName1} = User1} = 
   	snmpm_config:get_usm_user_from_sec_name(EngineID, SecName1),
  
positive.code: 		  {auth,     usmHMACMD5AuthProtocol},
  		  {auth_key, [1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6]},
  		  {priv,     usmNoPrivProtocol}],
      ?line ok = snmpm_config:register_usm_user(EngineID, UserName1, UsmConfig1),
      ?IPRINT("try register user 1 again (error)"),
      ?line {error, {already_registered, EngineID, UserName1}} = 
  
negative.code:             ?SKIP({failed_starting_crypto, Reason})
      end,
       
      ConfDir = ?config(manager_conf_dir, Conf),
      DbDir   = ?config(manager_db_dir, Conf),
  
      ?IPRINT("write manager config"),
      write_manager_conf(ConfDir),
  
      Opts = [{versions, [v3]}, 
  	    {config, [{verbosity, trace}, {dir, ConfDir}, {db_dir, DbDir}]}],
  
      ?IPRINT("Start config server"),
      ?line {ok, _Pid} = snmpm_config:start_link(Opts),
  
      ?IPRINT("Register usm user"),
      EngineID   = "engine",
      UsmUser    = "UsmUser",
      SecName    = UsmUser, 
      AuthProto  = usmHMACMD5AuthProtocol,
      AuthKey    = [1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6],
      PrivProto1 = usmNoPrivProtocol,
      UsmConfig  = [{sec_name, SecName},
                    {auth,     AuthProto},
                    {auth_key, AuthKey},
                    {priv,     PrivProto1}],
      ok = snmpm_config:register_usm_user(EngineID, UsmUser, UsmConfig),
  
      ?IPRINT("verify user user config"),
      ?line {ok, AuthProto}  = snmpm_config:usm_user_info(EngineID, UsmUser, auth),
      ?line {ok, AuthKey}    = snmpm_config:usm_user_info(EngineID, UsmUser, auth_key),
      ?line {ok, PrivProto1} = snmpm_config:usm_user_info(EngineID, UsmUser, priv),
  
      ?IPRINT("usm user update 1"),
      PrivProto2 = usmAesCfb128Protocol,
      PrivKey2   = [190,54,66,227,33,171,152,0,133,223,204,155,109,111,77,44],
      ok = snmpm_config:update_usm_user_info(EngineID, UsmUser, priv, PrivProto2),
      ok = snmpm_config:update_usm_user_info(EngineID, UsmUser, priv_key, PrivKey2),
  
      ?IPRINT("verify updated user user config after update 1"),
      ?line {ok, AuthProto}  = snmpm_config:usm_user_info(EngineID, UsmUser, auth),
      ?line {ok, AuthKey}    = snmpm_config:usm_user_info(EngineID, UsmUser, auth_key),
      ?line {ok, PrivProto2} = snmpm_config:usm_user_info(EngineID, UsmUser, priv),
      ?line {ok, PrivKey2}   = snmpm_config:usm_user_info(EngineID, UsmUser, priv_key),
  
      ?IPRINT("usm user update 2"),
      PrivProto3 = PrivProto1,
      ok = snmpm_config:update_usm_user_info(EngineID, UsmUser, priv, PrivProto3),
  
      ?IPRINT("verify updated user user config after update 2"),
      ?line {ok, AuthProto}  = snmpm_config:usm_user_info(EngineID, UsmUser, auth),
      ?line {ok, AuthKey}    = snmpm_config:usm_user_info(EngineID, UsmUser, auth_key),
      ?line {ok, PrivProto3}  = snmpm_config:usm_user_info(EngineID, UsmUser, priv),
  
      ?IPRINT("Stop config server"),
      ?line ok = snmpm_config:stop(),
  
      ?IPRINT("done"),
      ok.
  
  
  %%
  