{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":5886905,"defaultBranch":"master","name":"pkcs11","ownerLogin":"miekg","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2012-09-20T13:32:28.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/353371?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1687354417.114345","currentOid":""},"activityList":{"items":[{"before":"e678cf59e528fbe282ec77c9211fcf7d73a52f3e","after":"9078ad6b9d4b17a548e56959b10e8949afab10ec","ref":"refs/heads/master","pushedAt":"2023-11-15T10:28:56.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"miekg","name":"Miek Gieben","path":"/miekg","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/353371?s=80&v=4"},"commit":{"message":"const_generate: hardcode CK_TRUE/CK_FALSE to golang bool values (#176)\n\n* const_generate: hardcode CK_TRUE/CK_FALSE values\r\n\r\nThe PKCS11 constants are most useful when creating attributes with\r\n`NewAttribute()` in all kinds of different PKCS11 calls. The function\r\nis using generic type handling to decide attribute length.\r\n\r\nThe CK_TRUE/CK_FALSE constants should evaluate to direct Golang\r\nbool values in order for these to be handled properly by the\r\n`NewAttribute()` calls, which interprets bool values as\r\n[]byte{0}, []byte{1} for false, true respectively. If these stay\r\nintegers, `NewAttribtue()` considers them 8-byte long byte slices.\r\n\r\nSome PKCS11 module implementations actually validate constant-length\r\narguments size. https://github.com/opendnssec/SoftHSMv2/ is an example\r\nof a commonly used PKCS11-testing module that does that. Without this\r\nchange, the module fails to perform certain actions as it errors out\r\non unexpected attribute size.\r\n\r\n* regenerate zconst","shortMessageHtmlLink":"const_generate: hardcode CK_TRUE/CK_FALSE to golang bool values (#176)"}},{"before":"d9606e9198f7a9845782ab9c5774d54543539824","after":null,"ref":"refs/heads/workflow","pushedAt":"2023-06-21T13:33:37.114Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"miekg","name":"Miek Gieben","path":"/miekg","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/353371?s=80&v=4"}},{"before":"e93055c24cd44e2a23b12f2cd27fe771ec2e37d5","after":"e678cf59e528fbe282ec77c9211fcf7d73a52f3e","ref":"refs/heads/master","pushedAt":"2023-06-21T13:33:35.903Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"miekg","name":"Miek Gieben","path":"/miekg","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/353371?s=80&v=4"},"commit":{"message":"update to newer Go versions in workflow (#167)\n\nSigned-off-by: Miek Gieben ","shortMessageHtmlLink":"update to newer Go versions in workflow (#167)"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAADr5qPJAA","startCursor":null,"endCursor":null}},"title":"Activity ยท miekg/pkcs11"}