Skip to content

Commit

Permalink
[fix] apple authkey 개행문자 대체 로직 변경 #35
Browse files Browse the repository at this point in the history
  • Loading branch information
wjdtkdgns committed Jul 27, 2023
1 parent 85dbba9 commit db60eeb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ private static byte[] readPrivateKey(String authKey) {
log.info(authKey);
log.info("----------------");
byte[] content = null;
byte[] byteAuthKey = authKey.replace(" ", "\n").getBytes();
log.info(authKey.replace(" ", "\n"));
byte[] byteAuthKey = authKey.replace("((()))", "\n").getBytes();
log.info(authKey.replace("((()))", "\n"));
log.info("----------------");
try (InputStream keyInputStream = new ByteArrayInputStream(byteAuthKey);
InputStreamReader keyReader = new InputStreamReader(keyInputStream);
Expand Down

0 comments on commit db60eeb

Please sign in to comment.