Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix crypto deprecation warnings #665

Closed
arjan opened this Issue · 4 comments

2 participants

@arjan
Owner

This is a grep of all crypto warnings for a clean compile:
(also includes subprojects)

src/smtp_util.erl:65: Warning: crypto:md5_mac/2 is deprecated and will be removed in in a future release; use crypto:hmac/3
src/mochiweb_session.erl:105: Warning: crypto:aes_cfb_128_encrypt/3 is deprecated and will be removed in in a future release; use crypto:block_encrypt/4
src/mochiweb_session.erl:110: Warning: crypto:aes_cfb_128_decrypt/3 is deprecated and will be removed in in a future release; use crypto:block_decrypt/4
src/mochiweb_session.erl:114: Warning: crypto:md5_mac/2 is deprecated and will be removed in in a future release; use crypto:hmac/3
src/mochiweb_session.erl:118: Warning: crypto:sha_mac/2 is deprecated and will be removed in in a future release; use crypto:hmac/3
src/oauth_rsa_sha1.erl:9: Warning: public_key:pem_to_der/1: deprecated (will be removed in R15A); use file:read_file/1 and public_key:pem_decode/1
src/oauth_rsa_sha1.erl:10: Warning: public_key:decode_private_key/1 is deprecated and will be removed in R15A; use public_key:pem_entry_decode/1
src/oauth_rsa_sha1.erl:22: Warning: public_key:pem_to_der/1: deprecated (will be removed in R15A); use file:read_file/1 and public_key:pem_decode/1
src/oauth_hmac_sha1.erl:8: Warning: crypto:sha_mac/2 is deprecated and will be removed in in a future release; use crypto:hmac/3
src/support/z_utils.erl:159: Warning: crypto:sha_mac/2 is deprecated and will be removed in in a future release; use crypto:hmac/3
src/support/z_utils.erl:166: Warning: crypto:sha_mac/2 is deprecated and will be removed in in a future release; use crypto:hmac/3
src/support/z_utils.erl:196: Warning: crypto:md5_mac/2 is deprecated and will be removed in in a future release; use crypto:hmac/3
src/support/z_utils.erl:204: Warning: crypto:md5_mac/2 is deprecated and will be removed in in a future release; use crypto:hmac/3
src/support/z_mediaclass.erl:272: Warning: crypto:sha/1 is deprecated and will be removed in in a future release; use crypto:hash/2
src/models/m_media.erl:561: Warning: crypto:sha/1 is deprecated and will be removed in in a future release; use crypto:hash/2
src/models/m_identity.erl:294: Warning: crypto:sha/1 is deprecated and will be removed in in a future release; use crypto:hash/2
src/models/m_identity.erl:301: Warning: crypto:sha/1 is deprecated and will be removed in in a future release; use crypto:hash/2
modules/mod_geomap/mod_geomap.erl:138: Warning: crypto:md5/1 is deprecated and will be removed in in a future release; use crypto:hash/2
modules/mod_oauth/models/m_oauth_app.erl:169: Warning: crypto:sha/1 is deprecated and will be removed in in a future release; use crypto:hash/2
modules/mod_import_csv/support/import_csv.erl:637: Warning: crypto:sha/1 is deprecated and will be removed in in a future release; use crypto:hash/2
modules/mod_base/support/z_websocket_hybi17.erl:44: Warning: crypto:sha/1 is deprecated and will be removed in in a future release; use crypto:hash/2
modules/mod_base/support/z_websocket_hybi00.erl:45: Warning: crypto:md5/1 is deprecated and will be removed in in a future release; use crypto:hash/2
modules/mod_base/filters/filter_sha1.erl:26: Warning: crypto:sha/1 is deprecated and will be removed in in a future release; use crypto:hash/2
@mmzeeman
Owner
@arjan
Owner

Hmm interesting..

@mmzeeman
Owner
@arjan
Owner

Since these are just warnings, let's leave them in for now.

@arjan arjan closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.