We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Tom N.16
11 years agoNew member | Level 2
-34018 Client has neither application-identfier nor keychain-access-groups entitlements
When attempting to initiate oAuth with our in production app, I'm receiving this error below. Have not had an issue with this until today.
SecOSStatusWith error:[-34018] The operation couldn’t be ...
Tom N.16
11 years agoNew member | Level 2
Not sure if this is going to help at all given nothing changed on our end but this is what we use on Mac. Our windows apps are failing oauth as well though.
BTW - thanks so much for your help.
We use the openssl library on mac
static CPString GenerateSignature(CPString Key, CPString Value)
{
CPData keyData = Key;
CPData valueData = Value;
HMAC_CTX hmacContext;
HMAC_CTX_init(&hmacContext);
HMAC_Init_ex(&hmacContext, keyData.Bytes(), keyData.Length(), EVP_sha1(), NULL);
HMAC_Update(&hmacContext, reinterpret_cast<const unsigned char*>(valueData.Bytes()), valueData.Length());
unsigned char hashResult[EVP_MAX_MD_SIZE];
unsigned int hashResultLength;
HMAC_Final(&hmacContext, hashResult, &hashResultLength);
return CPBase64Encoder::EncodeData(CPData::DataWithBytesOfLength(hashResult, hashResultLength));
}
{
CPData keyData = Key;
CPData valueData = Value;
HMAC_CTX hmacContext;
HMAC_CTX_init(&hmacContext);
HMAC_Init_ex(&hmacContext, keyData.Bytes(), keyData.Length(), EVP_sha1(), NULL);
HMAC_Update(&hmacContext, reinterpret_cast<const unsigned char*>(valueData.Bytes()), valueData.Length());
unsigned char hashResult[EVP_MAX_MD_SIZE];
unsigned int hashResultLength;
HMAC_Final(&hmacContext, hashResult, &hashResultLength);
return CPBase64Encoder::EncodeData(CPData::DataWithBytesOfLength(hashResult, hashResultLength));
}
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!