oath-toolkit-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OATH-Toolkit-help] OATH Toolkit 2.6.0


From: Simon Josefsson
Subject: Re: [OATH-Toolkit-help] OATH Toolkit 2.6.0
Date: Tue, 19 May 2015 23:24:14 +0200
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.4 (gnu/linux)

David Woodhouse <address@hidden> writes:

> On Tue, 2015-05-19 at 23:06 +0200, Simon Josefsson wrote:
>> 
>> Thanks.  So how would an ideal API look like?  Does this make sense:
>> 
>> otp_global_init (int flags);
>> otp_global_deinit (void);
>> otp_generate_oath_from_pskc (const char *pskcfilename, char **otp);
>> otp_generate_oath_from_ykneo (const char *accountid, char **otp);
>> otp_generate_stoken (const char *stokendatabase, char **otp);
>> 
>> Or should the interface be cut at some other abstraction level?
>
> Perhaps a URI of some form? Some of these already exist for stoken.

Yeah, an URI approach sounds better.  There is a PKCS#11 amendment for
OTP tokens, not sure if the PKCS#11 URI handles this, or wheter it makes
any sense though.

/Simon

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]