[erlang-questions] Code Signing

Valentin Micic <>
Mon Nov 4 15:55:55 CET 2013


Shooting from the hip… how about vsn attribute? AFAIK, it is a digest that changes only if the compiled code has been changed.
Not sure, but it should change even if any of the included preprocessor files were subjected to a change (NOTE: adding or removing a comment, does not mean that code has been changed)

To obtain VSN, run <MODULE>:module_info( attributes ) 

where <MODULE> represent the name of the module.

This returns a list of attribute, having a the 'vsn' as the one of the attributes.

Kind regards

V/


On 04 Nov 2013, at 3:37 PM, Tyron Zerafa wrote:

> Hi,
> 
>     I'm wondering whether Erlang has got any form of code signature? Put simply, I would like to sign a module, transfer it to another node (through some intermediary nodes) and then ensure its authenticity on the receiving end. This would guarantee that no one tempered the code. Anyone knows of any extensions or mechanisms, I'm doing some research but haven't found anything yet?
> 
> Thanks,
> Tyron
>    
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions




More information about the erlang-questions mailing list