You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "BeCareOfZm (via GitHub)" <gi...@apache.org> on 2023/05/25 03:37:47 UTC
[GitHub] [shardingsphere] BeCareOfZm opened a new issue, #25877: Hexadecimal data cannot be encrypted?
BeCareOfZm opened a new issue, #25877:
URL: https://github.com/apache/shardingsphere/issues/25877
After SQL statement execution,the record is not encrypted
example:
```
insert into `testdb`.`m_user` (`id_card_no`,`name`,`mobile`,`id`) values(x'323230363035313934373039333038313730', x'6C70', x'3138323336343833383537', 1)
```
result:
<img width="630" alt="image" src="https://github.com/apache/shardingsphere/assets/19266113/91e77ed3-fb88-48e8-ba7d-77b02a4cf768">
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] BeCareOfZm commented on issue #25877: Hexadecimal data cannot be encrypted?
Posted by "BeCareOfZm (via GitHub)" <gi...@apache.org>.
BeCareOfZm commented on issue #25877:
URL: https://github.com/apache/shardingsphere/issues/25877#issuecomment-1563762065
> Hi @BeCareOfZm , could you edit the issue with [template](https://raw.githubusercontent.com/apache/shardingsphere/master/.github/ISSUE_TEMPLATE/bug-report.md)? More information is needed, e.g. version, configuration, etc
**tar package**: apache-shardingsphere-5.3.2-shardingsphere-proxy-bin.tar
**version**: 5.3.2
**rule**: ```
CREATE ENCRYPT RULE t_user (
COLUMNS(
(
NAME = id_card_no,
CIPHER = id_card_no,
ENCRYPT_ALGORITHM(
TYPE(
NAME = 'AES',
PROPERTIES('aes-key-value' = '123456abc')
)
)
),
(
NAME = mobile,
CIPHER = mobile,
ENCRYPT_ALGORITHM(
TYPE(
NAME = 'AES',
PROPERTIES('aes-key-value' = '123456abc')
)
)
)
),
QUERY_WITH_CIPHER_COLUMN = true
);
```
**create table sql**:
`CREATE TABLE t_user (
id INT(8) primary key,
mobile VARCHAR(50),
id_card_no VARCHAR(50)
);`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] github-actions[bot] commented on issue #25877: Hexadecimal data cannot be encrypted?
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #25877:
URL: https://github.com/apache/shardingsphere/issues/25877#issuecomment-1712169451
There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] sandynz commented on issue #25877: Hexadecimal data cannot be encrypted?
Posted by "sandynz (via GitHub)" <gi...@apache.org>.
sandynz commented on issue #25877:
URL: https://github.com/apache/shardingsphere/issues/25877#issuecomment-1563822987
Hi @tuichenchuxin , could you help to verify it?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] sandynz commented on issue #25877: Hexadecimal data cannot be encrypted?
Posted by "sandynz (via GitHub)" <gi...@apache.org>.
sandynz commented on issue #25877:
URL: https://github.com/apache/shardingsphere/issues/25877#issuecomment-1563705881
Hi @BeCareOfZm , could you edit the issue with [template]( https://raw.githubusercontent.com/apache/shardingsphere/master/.github/ISSUE_TEMPLATE/bug-report.md )? More information is needed, e.g. version, configuration, etc
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] tuichenchuxin commented on issue #25877: Hexadecimal data cannot be encrypted?
Posted by "tuichenchuxin (via GitHub)" <gi...@apache.org>.
tuichenchuxin commented on issue #25877:
URL: https://github.com/apache/shardingsphere/issues/25877#issuecomment-1563840255
not support yet.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org