Displaying 2 results from an estimated 2 matches for "certificate_id".
2006 Jul 01
0
activerecord generating wrong syntax with postgresql
...rt --export 1 --format
pkcs12 --key root.key >root.pfx
This is the error:
(PGError: ERROR: argument of WHERE must be type boolean, not type integer
: SELECT * FROM certificates WHERE (1) LIMIT 1)
This is the code that generates the error:
bc = SECA::Backend::Certificate.find_first(options[:certificate_id])
If I change it to this, it works:
bc = SECA::Backend::Certificate.find(:first, :conditions => ["id = ?",
options[:certificate_id]])
And this is the model:
module SECA
module Backend
class Certificate < ActiveRecord::Base
STATUS_VALID = 0
STATUS_REVOKED = 1...
2007 Sep 29
64
[Bug 1371] New: Add PKCS#11 (Smartcards) support into OpenSSH
http://bugzilla.mindrot.org/show_bug.cgi?id=1371
Summary: Add PKCS#11 (Smartcards) support into OpenSSH
Product: Portable OpenSSH
Version: 4.7p1
Platform: All
URL: http://alon.barlev.googlepages.com/openssh-pkcs11
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: