using new accounts ykman command

pull/1769/head v1.17.5
antelle 2021-03-27 09:16:53 +01:00
parent cace667b26
commit 4ee87e197d
No known key found for this signature in database
GPG Key ID: 63C9777AAB7C563C
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ const YubiKey = {
getOtp(serial, entry, callback) {
return Launcher.spawn({
cmd: this.cmd(),
args: ['-d', serial, 'oath', 'code', '--single', entry],
args: ['-d', serial, 'oath', 'accounts', 'code', '--single', entry],
noStdOutLogging: true,
complete: (err, stdout) => {
if (err) {