ogg 登录mysql报字符集_ogg登陆数据库用户密码加密

本文介绍了如何使用Oracle GoldenGate的ENCRYPT PASSWORD命令来加密数据库用户密码,包括使用默认密钥和自定义密钥的方法,并强调了默认密钥在生产环境中的安全性问题。
摘要由CSDN通过智能技术生成

使用过gg的人应该都知道,在配置抽取和复制进程参数文件的时候都需要配置ogg用户以登陆数据库,这里就涉及到一个数据库安全的问题,不过还好,ogg提供了一些加密方法,如下摘录自gg的administrator guide中关于加密数据库用户密码的一段说明:

To encrypt the password

1. Run GGSCI.

2. Issue the ENCRYPT PASSWORD command.

ENCRYPT PASSWORD ENCRYPTKEY {| DEFAULT}

Where:

❍ is the clear-text login password. Do not enclose the password within

quotes. If the password is case-sensitive, type it that way.

❍ specifies the encryption algorithm to use:

◗ AES128 uses the AES-128 cipher, which has a key size of 128 bits.

◗ AES192 uses the AES-192 cipher, which has a key size of 192 bits.

◗ AES256 uses the AES-256 cipher, which has a key size of 256 bits.

◗ BLOWFISH uses Blowfish encryption with a 64-bit block size and a variablelength

key size from 32 bits to 128 bits. Use BLOWFISH only for backward

compatibility with earlier Oracle GoldenGate versions.

❍ ENCRYPTKEY specifies the logical name of a user-created encryption key in

the ENCKEYS lookup file. The key name is used to look up the actual key in the

ENCKEYS file. Using a user-defined key and an ENCKEYS file is required for AES

encryption. To create a key and ENCKEYS file, see “Generating encryption keys” on

page 134.

❍ ENCRYPTKEY DEFAULT directs Oracle Gol

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值