質問編集履歴
1
ローカル環境でDev / Snapshot Public Keyを貼り付けた時の状況を追記に書きました。
title
CHANGED
File without changes
|
body
CHANGED
@@ -32,4 +32,34 @@
|
|
32
32
|
Composer version: 1.8.5
|
33
33
|
PHP version: 7.3.4
|
34
34
|
Laravel Framework 5.5.45
|
35
|
-
実行環境 homestead
|
35
|
+
実行環境 homestead
|
36
|
+
|
37
|
+
## 追記
|
38
|
+
composer self-update --update-keys と入力し実行すればうまく動きました。
|
39
|
+
次にhttps://composer.github.io/pubkeys.htmlのDev / Snapshot Public Keyをコピーしてターミナルに張り付けてみたのですが、下記のように改行が含まれInvalid inputと返されてしまいます。
|
40
|
+
ちゃんと認識されるようにするにはどうすればよいのでしょうか?
|
41
|
+
```
|
42
|
+
vagrant@homestead:~/code$ composer self-update --update-keys
|
43
|
+
Open https://composer.github.io/pubkeys.html to find the latest keys
|
44
|
+
|
45
|
+
Enter Dev / Snapshot Public Key (including lines with -----): -----BEGIN PUBLIC KEY-----
|
46
|
+
|
47
|
+
Enter Dev / Snapshot Public Key (including lines with -----): MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAnBDHjZS6e0ZMoK3xTD7f
|
48
|
+
Invalid input
|
49
|
+
Enter Dev / Snapshot Public Key (including lines with -----):
|
50
|
+
Invalid input
|
51
|
+
Enter Dev / Snapshot Public Key (including lines with -----): FNCzlXjX/Aie2dit8QXA03pSrOTbaMnxON3hUL47Lz3g1SC6YJEMVHr0zYq4elWi
|
52
|
+
Invalid input
|
53
|
+
Enter Dev / Snapshot Public Key (including lines with -----):
|
54
|
+
Invalid input
|
55
|
+
Enter Dev / Snapshot Public Key (including lines with -----): i3ecFEgzLcj+pZM5X6qWu2Ozz4vWx3JYo1/a/HYdOuW9e3lwS8VtS0AVJA+U8X0A
|
56
|
+
Invalid input
|
57
|
+
Enter Dev / Snapshot Public Key (including lines with -----):
|
58
|
+
Invalid input
|
59
|
+
Enter Dev / Snapshot Public Key (including lines with -----): hZnBmGpltHhO8hPKHgkJtkTUxCheTcbqn4wGHl8Z2SediDcPTLwqezWKUfrYzu1f
|
60
|
+
Invalid input
|
61
|
+
Enter Dev / Snapshot Public Key (including lines with -----):
|
62
|
+
Invalid input
|
63
|
+
Enter Dev / Snapshot Public Key (including lines with -----): o/j3WFwFs6GtK4wdYtiXr+yspBZHO3y1udf8eFFGcb2V3EaLOrtfur6XQVizjOuk
|
64
|
+
|
65
|
+
```
|