Hmm, The confirming doesn't work for me at all :/, What could be the issue (not the same thing what I asked before)
community.on('confKeyNeeded', function(tag, callback) {
var time = Math.floor(Date.now() / 1000);
var key_conf = SteamTotp.getConfirmationKey(config.identity_secret, time, 'conf');
callback(null, time, key_conf);
});
community.on('newConfirmation', function(confirmation) {
logger.info("newConfirmation requested.");
var time_details = Math.floor(Date.now() / 1000);
var key_details = SteamTotp.getConfirmationKey(config.identity_secret, time_details+t_offset, 'allow');
confirmation.respond(time_details+t_offset, key_details, true, function(err){
if (err != null) {logger.error("Unable to confirm offer: "+err); return; }
logger.info("Trade Accepted with 2FA");
});
});