[exim-dev] ${certextract} bug?

Top Page
Delete this message
Reply to this message
Author: Mike Cardwell
Date:  
To: exim-dev
Subject: [exim-dev] ${certextract} bug?
Is this a bug:

root@flan:/etc/exim4# exim4 -be '${certextract{signature}{${readfile{/etc/ssl/grepular.com/ssl.crt}}}{$value}}'
Failed: no variable named "{readfile{/etc/ssl/grepular.com/ssl.crt"

I'm not sure if it is, because the spec.txt says:

"The <certificate> must be a variable of type certificate."

Is the certificate field not expandable for security reasons? If not,
could it be made expandable and allowed to take PEM encoded
certificates as input too?

-- 
Mike Cardwell  https://grepular.com https://emailprivacytester.com
OpenPGP Key    35BC AF1D 3AA2 1F84 3DC3   B0CF 70A5 F512 0018 461F
XMPP OTR Key   8924 B06A 7917 AAF3 DBB1   BF1B 295C 3C78 3EF1 46B4