I am using appcelerator titanium and bencoding. What could be the error with the following code? Error attached below
var securely = require('bencoding.securely');
var SecureProperties = securely.createProperties({
secret : "hidden_dont_tell",
identifier : "myPropertyIdentifier",
vi : "$H@Crit1c4L",
storageType:securely.PROPERTY_TYPE_KEYCHAIN ,
securityLevel : securely.PROPERTY_SECURE_LEVEL_HIGH
});
SecureProperties.setString('String', "p4$$M0RD");
[ERROR]:Unable to set value to keychain Error Domain=com.samsoffes.sskeychain Code=-50 "errSecParam" UserInfo={NSLocalizedDescription=errSecParam}
Use storage type as PROPERTY_TYPE_PREFERENCES instead