{"action":"closed","issue":{"url":"https://api.github.com/repos/dtanner/grails-jasypt/issues/7","repository_url":"https://api.github.com/repos/dtanner/grails-jasypt","labels_url":"https://api.github.com/repos/dtanner/grails-jasypt/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/dtanner/grails-jasypt/issues/7/comments","events_url":"https://api.github.com/repos/dtanner/grails-jasypt/issues/7/events","html_url":"https://github.com/dtanner/grails-jasypt/issues/7","id":179188206,"number":7,"title":"How can encrypt data that is already in the database? ","user":{"login":"Viroide","id":713362,"avatar_url":"https://avatars.githubusercontent.com/u/713362?v=3","gravatar_id":"","url":"https://api.github.com/users/Viroide","html_url":"https://github.com/Viroide","followers_url":"https://api.github.com/users/Viroide/followers","following_url":"https://api.github.com/users/Viroide/following{/other_user}","gists_url":"https://api.github.com/users/Viroide/gists{/gist_id}","starred_url":"https://api.github.com/users/Viroide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Viroide/subscriptions","organizations_url":"https://api.github.com/users/Viroide/orgs","repos_url":"https://api.github.com/users/Viroide/repos","events_url":"https://api.github.com/users/Viroide/events{/privacy}","received_events_url":"https://api.github.com/users/Viroide/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-26T10:08:55Z","updated_at":"2016-09-27T15:18:20Z","closed_at":"2016-09-27T15:18:19Z","body":"I have some fields in my DB populated, for example lastName, that I want to handle with this plugin, but if I add lastName type: GormEncryptedStringType I have this error: \r\n\r\n```\r\nLine | Method\r\n->>  974 | decrypt     in org.jasypt.encryption.pbe.StandardPBEByteEncryptor\r\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \r\n|    725 | decrypt     in org.jasypt.encryption.pbe.StandardPBEStringEncryptor\r\n|    143 | nullSafeGet in org.jasypt.hibernate4.type.AbstractEncryptedAsStringType\r\n|     45 | nullSafeGet in DefaultParametersUserType.groovy\r\n|    428 | findAll . . in org.grails.datastore.gorm.GormStaticApi\r\n|     19 | list        in EncryptationController.groovy\r\n|    198 | doFilter .  in PageFragmentCachingFilter.java\r\n|     63 | doFilter    in AbstractFilter.java\r\n|     53 | doFilter .  in GrailsAnonymousAuthenticationFilter.java\r\n|    108 | doFilter    in RestAuthenticationFilter.groovy\r\n|     49 | doFilter .  in RequestHolderAuthenticationFilter.java\r\n|     82 | doFilter    in MutableLogoutFilter.java\r\n|     63 | doFilter .  in RestLogoutFilter.groovy\r\n|   1145 | runWorker   in java.util.concurrent.ThreadPoolExecutor\r\n|    615 | run . . . . in java.util.concurrent.ThreadPoolExecutor$Worker\r\n^    745 | run         in java.lang.Thread\r\n```\r\n\r\nI supposed that is because this field is not null, and is not yet encrypted. So my question is, how can I encrypt this fields with the same config as the plugin but without using it? "}}
{"actor":{"display_login":"dtanner"}}