now you want asn1 to start public_key

5> application:start(public_key).
{error,{not_started,asn1}} % public_key now depends on asn1