├── rebar.lock ├── include ├── credentials_obfuscation.hrl └── otp_crypto.hrl ├── doc ├── credentials_obfuscation.epub ├── dist │ ├── remixicon-NKANDIL5.woff2 │ ├── lato-latin-300-normal-YUMVEFOL.woff2 │ ├── lato-latin-700-normal-2XVSBPG4.woff2 │ ├── lato-latin-ext-300-normal-VPGGJKJL.woff2 │ ├── lato-latin-ext-700-normal-Q2L5DVMW.woff2 │ ├── inconsolata-latin-400-normal-RGKDDNDD.woff2 │ ├── inconsolata-latin-700-normal-DTS2D7TO.woff2 │ ├── merriweather-latin-300-italic-353COS6Q.woff2 │ ├── merriweather-latin-300-normal-RWDJH4FN.woff2 │ ├── inconsolata-latin-ext-400-normal-K7HVGTP7.woff2 │ ├── inconsolata-latin-ext-700-normal-4MPBLFZC.woff2 │ ├── inconsolata-vietnamese-400-normal-IGQPHHJH.woff2 │ ├── inconsolata-vietnamese-700-normal-LHEGSN35.woff2 │ ├── merriweather-cyrillic-300-italic-M6KMXZSZ.woff2 │ ├── merriweather-cyrillic-300-normal-7PAAHU3N.woff2 │ ├── merriweather-latin-ext-300-italic-MWCA36KE.woff2 │ ├── merriweather-latin-ext-300-normal-K6L27CZ5.woff2 │ ├── merriweather-cyrillic-ext-300-italic-JP3ZEV2P.woff2 │ ├── merriweather-cyrillic-ext-300-normal-5LF5LCEK.woff2 │ ├── merriweather-vietnamese-300-italic-EHHNZPUO.woff2 │ ├── merriweather-vietnamese-300-normal-U376L4Z4.woff2 │ ├── sidebar_items-2C2E7F21.js │ ├── search_items-B61ACA4F.js │ ├── handlebars.runtime-NWIB6V2M.js │ └── handlebars.templates-IV5W3OL2.js ├── index.html ├── .build ├── search.html ├── 404.html ├── api-reference.html ├── credentials_obfuscation_sup.html ├── credentials_obfuscation_app.html ├── credentials_obfuscation.html ├── credentials_obfuscation_svc.html └── credentials_obfuscation_pbe.html ├── LICENSE ├── .gitignore ├── src ├── credentials_obfuscation.app.src ├── credentials_obfuscation_app.erl ├── credentials_obfuscation_sup.erl ├── credentials_obfuscation.erl ├── credentials_obfuscation_pbe.erl └── credentials_obfuscation_svc.erl ├── rebar.config ├── .github ├── workflows │ └── main.yml └── PULL_REQUEST_TEMPLATE.md ├── priv └── schema │ └── credentials_obfuscation.schema ├── README.md ├── test ├── credentials_obfuscation_pbe_SUITE.erl └── credentials_obfuscation_SUITE.erl ├── HISTORY.md ├── CHANGELOG.md ├── LICENSE-APACHE2 └── LICENSE-MPL-RabbitMQ /rebar.lock: -------------------------------------------------------------------------------- 1 | []. 2 | -------------------------------------------------------------------------------- /include/credentials_obfuscation.hrl: -------------------------------------------------------------------------------- 1 | -define(PENDING_SECRET, '$pending-secret'). 2 | -------------------------------------------------------------------------------- /doc/credentials_obfuscation.epub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rabbitmq/credentials-obfuscation/HEAD/doc/credentials_obfuscation.epub -------------------------------------------------------------------------------- /doc/dist/remixicon-NKANDIL5.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rabbitmq/credentials-obfuscation/HEAD/doc/dist/remixicon-NKANDIL5.woff2 -------------------------------------------------------------------------------- /doc/dist/lato-latin-300-normal-YUMVEFOL.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rabbitmq/credentials-obfuscation/HEAD/doc/dist/lato-latin-300-normal-YUMVEFOL.woff2 -------------------------------------------------------------------------------- /doc/dist/lato-latin-700-normal-2XVSBPG4.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rabbitmq/credentials-obfuscation/HEAD/doc/dist/lato-latin-700-normal-2XVSBPG4.woff2 -------------------------------------------------------------------------------- /doc/dist/lato-latin-ext-300-normal-VPGGJKJL.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rabbitmq/credentials-obfuscation/HEAD/doc/dist/lato-latin-ext-300-normal-VPGGJKJL.woff2 -------------------------------------------------------------------------------- /doc/dist/lato-latin-ext-700-normal-Q2L5DVMW.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rabbitmq/credentials-obfuscation/HEAD/doc/dist/lato-latin-ext-700-normal-Q2L5DVMW.woff2 -------------------------------------------------------------------------------- /doc/dist/inconsolata-latin-400-normal-RGKDDNDD.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rabbitmq/credentials-obfuscation/HEAD/doc/dist/inconsolata-latin-400-normal-RGKDDNDD.woff2 -------------------------------------------------------------------------------- /doc/dist/inconsolata-latin-700-normal-DTS2D7TO.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rabbitmq/credentials-obfuscation/HEAD/doc/dist/inconsolata-latin-700-normal-DTS2D7TO.woff2 -------------------------------------------------------------------------------- /doc/dist/merriweather-latin-300-italic-353COS6Q.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rabbitmq/credentials-obfuscation/HEAD/doc/dist/merriweather-latin-300-italic-353COS6Q.woff2 -------------------------------------------------------------------------------- /doc/dist/merriweather-latin-300-normal-RWDJH4FN.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rabbitmq/credentials-obfuscation/HEAD/doc/dist/merriweather-latin-300-normal-RWDJH4FN.woff2 -------------------------------------------------------------------------------- /doc/dist/inconsolata-latin-ext-400-normal-K7HVGTP7.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rabbitmq/credentials-obfuscation/HEAD/doc/dist/inconsolata-latin-ext-400-normal-K7HVGTP7.woff2 -------------------------------------------------------------------------------- /doc/dist/inconsolata-latin-ext-700-normal-4MPBLFZC.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rabbitmq/credentials-obfuscation/HEAD/doc/dist/inconsolata-latin-ext-700-normal-4MPBLFZC.woff2 -------------------------------------------------------------------------------- /doc/dist/inconsolata-vietnamese-400-normal-IGQPHHJH.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rabbitmq/credentials-obfuscation/HEAD/doc/dist/inconsolata-vietnamese-400-normal-IGQPHHJH.woff2 -------------------------------------------------------------------------------- /doc/dist/inconsolata-vietnamese-700-normal-LHEGSN35.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rabbitmq/credentials-obfuscation/HEAD/doc/dist/inconsolata-vietnamese-700-normal-LHEGSN35.woff2 -------------------------------------------------------------------------------- /doc/dist/merriweather-cyrillic-300-italic-M6KMXZSZ.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rabbitmq/credentials-obfuscation/HEAD/doc/dist/merriweather-cyrillic-300-italic-M6KMXZSZ.woff2 -------------------------------------------------------------------------------- /doc/dist/merriweather-cyrillic-300-normal-7PAAHU3N.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rabbitmq/credentials-obfuscation/HEAD/doc/dist/merriweather-cyrillic-300-normal-7PAAHU3N.woff2 -------------------------------------------------------------------------------- /doc/dist/merriweather-latin-ext-300-italic-MWCA36KE.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rabbitmq/credentials-obfuscation/HEAD/doc/dist/merriweather-latin-ext-300-italic-MWCA36KE.woff2 -------------------------------------------------------------------------------- /doc/dist/merriweather-latin-ext-300-normal-K6L27CZ5.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rabbitmq/credentials-obfuscation/HEAD/doc/dist/merriweather-latin-ext-300-normal-K6L27CZ5.woff2 -------------------------------------------------------------------------------- /doc/dist/merriweather-cyrillic-ext-300-italic-JP3ZEV2P.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rabbitmq/credentials-obfuscation/HEAD/doc/dist/merriweather-cyrillic-ext-300-italic-JP3ZEV2P.woff2 -------------------------------------------------------------------------------- /doc/dist/merriweather-cyrillic-ext-300-normal-5LF5LCEK.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rabbitmq/credentials-obfuscation/HEAD/doc/dist/merriweather-cyrillic-ext-300-normal-5LF5LCEK.woff2 -------------------------------------------------------------------------------- /doc/dist/merriweather-vietnamese-300-italic-EHHNZPUO.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rabbitmq/credentials-obfuscation/HEAD/doc/dist/merriweather-vietnamese-300-italic-EHHNZPUO.woff2 -------------------------------------------------------------------------------- /doc/dist/merriweather-vietnamese-300-normal-U376L4Z4.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rabbitmq/credentials-obfuscation/HEAD/doc/dist/merriweather-vietnamese-300-normal-U376L4Z4.woff2 -------------------------------------------------------------------------------- /doc/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |Sorry, but the page you were trying to get to, does not exist. You 102 | may want to try searching this site using the sidebar 103 | 104 | or using our API Reference page 105 | 106 | to find what you were looking for.
107 | 137 |modules
108 | 109 | Modules 110 |-spec start_link() -> ignore | {error, _} | {ok, pid()}.
183 |
184 | -spec start(_, _) -> {error, _} | {ok, pid()} | {ok, pid(), _}.
166 |
167 | -spec stop(_) -> ok.
189 |
190 | -spec cipher() -> atom().
230 |
231 | -spec decrypt(none | undefined) -> none | undefined;
253 | ({plaintext, binary()} | {encrypted, binary()}) -> binary().
254 |
255 | -spec enabled() -> boolean().
277 |
278 | -spec encrypt(none | undefined) -> none | undefined;
300 | (iodata()) -> {plaintext, binary()} | {encrypted, binary()}.
301 |
302 | -spec hash() -> atom().
324 |
325 | -spec iterations() -> non_neg_integer().
347 |
348 | -spec refresh_config() -> ok | {error, invalid_config}.
370 |
371 | -spec secret() -> binary() | '$pending-secret'.
393 |
394 | -spec set_fallback_secret(binary()) -> ok.
416 |
417 | -spec set_secret(binary()) -> ok.
439 |
440 | -spec decrypt({plaintext, binary()} | {encrypted, binary()}) -> binary().
271 |
272 | -spec encrypt(iodata()) -> {plaintext, binary()} | {encrypted, binary()} | binary().
294 |
295 | -spec get_config(atom()) -> term().
317 |
318 | -spec refresh_config() -> ok | {error, invalid_config}.
408 |
409 | -spec set_fallback_secret(binary()) -> ok.
431 |
432 | -spec set_secret(binary()) -> ok.
454 |
455 | -type blake2() :: blake2b | blake2s.
276 |
277 | -type cipher_iv() ::
299 | aes_128_cbc | aes_192_cbc | aes_256_cbc | aes_cbc | aes_128_ofb | aes_192_ofb | aes_256_ofb |
300 | aes_128_cfb128 | aes_192_cfb128 | aes_256_cfb128 | aes_cfb128 | aes_128_cfb8 | aes_192_cfb8 |
301 | aes_256_cfb8 | aes_cfb8 | aes_128_ctr | aes_192_ctr | aes_256_ctr | aes_ctr | blowfish_cbc |
302 | blowfish_cfb64 | blowfish_ofb64 | chacha20 | des_ede3_cbc | des_ede3_cfb | des_cbc | des_cfb |
303 | rc2_cbc.
304 |
305 | -type compatibility_only_hash() :: md5 | md4.
327 |
328 | -type hash_algorithm() :: 350 | crypto:sha1() | 351 | crypto:sha2() | 352 | sha3() | 353 | sha3_xof() | 354 | blake2() | 355 | ripemd160 | 356 | compatibility_only_hash().357 | 358 |
-type sha3() :: sha3_224 | sha3_256 | sha3_384 | sha3_512.
380 |
381 | -type sha3_xof() :: shake128 | shake256.
403 |
404 | -spec decrypt(cipher_iv(), 439 | hash_algorithm(), 440 | pos_integer(), 441 | iodata(), 442 | {encrypted, binary() | [1..255]} | {plaintext, _}) -> 443 | any().444 | 445 |
-spec encrypt(cipher_iv(), hash_algorithm(), pos_integer(), iodata() | '$pending-secret', iodata()) -> 535 | {plaintext, binary()} | {encrypted, binary()}.536 | 537 |
'+((e=n.lambda(l,l))!=null?e:"")+`
45 | `},9:function(n,l,a,c,s){var e,o=n.lookupProperty||function(u,r){if(Object.prototype.hasOwnProperty.call(u,r))return u[r]};return((e=(o(a,"isArray")||l&&o(l,"isArray")||n.hooks.helperMissing).call(l??(n.nullContext||{}),l!=null?o(l,"results"):l,{name:"isArray",hash:{},fn:n.program(10,s,0),inverse:n.program(12,s,0),data:s,loc:{start:{line:28,column:2},end:{line:34,column:14}}}))!=null?e:"")+` 46 |The search functionality is full-text based. Here are some tips:
47 | 48 |foo bar) are searched as OR* anywhere (such as fo*) as wildcard+ before a word (such as +foo) to make its presence required- before a word (such as -foo) to make its absence required: to search on a particular field (such as field:word). The available fields are title and docWORD^NUMBER (such as foo^2) to boost the given wordWORD~NUMBER (such as foo~2) to do a search with edit distance on wordTo quickly go to a module, type, or function, use the autocompletion feature in the sidebar search.
59 | `},10:function(n,l,a,c,s){var e,o=n.lookupProperty||function(u,r){if(Object.prototype.hasOwnProperty.call(u,r))return u[r]};return"Sorry, we couldn't find anything for "+n.escapeExpression((e=(e=o(a,"value")||(l!=null?o(l,"value"):l))!=null?e:n.hooks.helperMissing,typeof e=="function"?e.call(l??(n.nullContext||{}),{name:"value",hash:{},data:s,loc:{start:{line:29,column:48},end:{line:29,column:57}}}):e))+`.
60 | `},12:function(n,l,a,c,s){var e,o=n.lookupProperty||function(u,r){if(Object.prototype.hasOwnProperty.call(u,r))return u[r]};return(e=o(a,"if").call(l??(n.nullContext||{}),l!=null?o(l,"value"):l,{name:"if",hash:{},fn:n.program(13,s,0),inverse:n.program(15,s,0),data:s,loc:{start:{line:30,column:2},end:{line:34,column:2}}}))!=null?e:""},13:function(n,l,a,c,s){var e,o=n.lookupProperty||function(u,r){if(Object.prototype.hasOwnProperty.call(u,r))return u[r]};return"Invalid search: "+n.escapeExpression((e=(e=o(a,"errorMessage")||(l!=null?o(l,"errorMessage"):l))!=null?e:n.hooks.helperMissing,typeof e=="function"?e.call(l??(n.nullContext||{}),{name:"errorMessage",hash:{},data:s,loc:{start:{line:31,column:23},end:{line:31,column:39}}}):e))+`.
61 | `},15:function(n,l,a,c,s){return`Please type something into the search bar to perform a search.
62 | `},compiler:[8,">= 4.3.0"],main:function(n,l,a,c,s){var e,o=l??(n.nullContext||{}),u=n.lookupProperty||function(r,i){if(Object.prototype.hasOwnProperty.call(r,i))return r[i]};return`